Struct google_chat1::UserMentionMetadata
source · Expand description
Annotation metadata for user mentions (@).
This type is not used in any activity, and only used as part of another schema.
Fields
type_: Option<String>
The type of user mention.
user: Option<User>
The user mentioned.
Trait Implementations
sourceimpl Clone for UserMentionMetadata
impl Clone for UserMentionMetadata
sourcefn clone(&self) -> UserMentionMetadata
fn clone(&self) -> UserMentionMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UserMentionMetadata
impl Debug for UserMentionMetadata
sourceimpl Default for UserMentionMetadata
impl Default for UserMentionMetadata
sourcefn default() -> UserMentionMetadata
fn default() -> UserMentionMetadata
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UserMentionMetadata
impl<'de> Deserialize<'de> for UserMentionMetadata
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for UserMentionMetadata
impl Serialize for UserMentionMetadata
impl Part for UserMentionMetadata
Auto Trait Implementations
impl RefUnwindSafe for UserMentionMetadata
impl Send for UserMentionMetadata
impl Sync for UserMentionMetadata
impl Unpin for UserMentionMetadata
impl UnwindSafe for UserMentionMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more