ECal.ComponentId¶
Fields¶
None
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class ECal.ComponentId¶
An opaque structure containing UID of a component and its recurrence ID (which can be
None
). Use the functions below to work with it.- classmethod new(uid, rid)¶
- Parameters:
- Returns:
- Return type:
Creates a new
ECal.ComponentId
from uid and rid, which should be freed with e_cal_component_id_free().New in version 3.10.
- classmethod new_take(uid, rid)¶
- Parameters:
- Returns:
- Return type:
Creates a new
ECal.ComponentId
from uid and rid, which should be freed with e_cal_component_id_free(). The function assumes ownership of uid and rid parameters.New in version 3.34.
- copy()¶
- Returns:
a newly allocated copy of self
- Return type:
Returns a newly allocated copy of self, which should be freed with e_cal_component_id_free().
New in version 3.10.
- equal(id2)¶
- Parameters:
id2 (
ECal.ComponentId
) – the secondECal.ComponentId
- Returns:
True
if self and id2 are equal- Return type:
Compares two
ECal.ComponentId
structs for equality.New in version 3.10.
- get_rid()¶
- Returns:
The RECURRENCE-ID
Camel.part
of the self. The returned string is owned by self and it’s valid until it’s changed withECal.ComponentId.set_rid
() or until the self is freed.- Return type:
New in version 3.34.
- get_uid()¶
- Returns:
The UID
Camel.part
of the self. The returned string is owned by self and it’s valid until it’s changed withECal.ComponentId.set_uid
() or until the self is freed.- Return type:
New in version 3.34.
- hash()¶
- Returns:
a hash value for self
- Return type:
Generates a hash value for self.
New in version 3.10.