EBookContacts.ContactName

Fields

Name

Type

Access

Description

additional

str

r/w

family

str

r/w

given

str

r/w

prefixes

str

r/w

suffixes

str

r/w

Methods

class

from_string (name_str)

class

new ()

copy ()

free ()

to_string ()

Details

class EBookContacts.ContactName
classmethod from_string(name_str)
Parameters:

name_str (str) – a string representing a contact’s full name

Returns:

A new EBookContacts.ContactName struct.

Return type:

EBookContacts.ContactName

Creates a new EBookContacts.ContactName based on the parsed name_str.

classmethod new()
Returns:

A new EBookContacts.ContactName struct.

Return type:

EBookContacts.ContactName

Creates a new EBookContacts.ContactName struct.

copy()
Returns:

A new EBookContacts.ContactName identical to self.

Return type:

EBookContacts.ContactName

Creates a copy of self.

free()

Frees self and its contents.

to_string()
Returns:

The string representation of self.

Return type:

str

Generates a string representation of self.