Enum webex::types::GlobalIdType
source · pub enum GlobalIdType {
Message,
Person,
Room,
Team,
AttachmentAction,
Unknown,
}
Expand description
This represents the type of an ID produced by the API, to prevent (for example) message IDs being used for a room ID.
Variants§
Message
This GlobalId represents the ID of a message
Person
Corresponds to the ID of a person
Room
Corresponds to the ID of a room
Team
Corresponds to the ID of a team
AttachmentAction
Retrieves a specific attachment
Unknown
This GlobalId represents the ID of something not currently recognised, any API requests with this GlobalId will produce an error.
Trait Implementations§
source§impl Clone for GlobalIdType
impl Clone for GlobalIdType
source§fn clone(&self) -> GlobalIdType
fn clone(&self) -> GlobalIdType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GlobalIdType
impl Debug for GlobalIdType
source§impl Display for GlobalIdType
impl Display for GlobalIdType
source§impl From<ActivityType> for GlobalIdType
impl From<ActivityType> for GlobalIdType
source§fn from(a: ActivityType) -> Self
fn from(a: ActivityType) -> Self
Converts to this type from the input type.
source§impl PartialEq for GlobalIdType
impl PartialEq for GlobalIdType
source§fn eq(&self, other: &GlobalIdType) -> bool
fn eq(&self, other: &GlobalIdType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GlobalIdType
impl Eq for GlobalIdType
impl StructuralEq for GlobalIdType
impl StructuralPartialEq for GlobalIdType
Auto Trait Implementations§
impl RefUnwindSafe for GlobalIdType
impl Send for GlobalIdType
impl Sync for GlobalIdType
impl Unpin for GlobalIdType
impl UnwindSafe for GlobalIdType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.