#[non_exhaustive]pub struct MessageUpdatedEventData {
pub message: Option<Message>,
/* private fields */
}Expand description
Event payload for an updated message.
Event type: google.workspace.chat.message.v1.updated
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.message: Option<Message>The updated message.
Implementations§
Source§impl MessageUpdatedEventData
impl MessageUpdatedEventData
Sourcepub fn set_message<T>(self, v: T) -> Self
pub fn set_message<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_message<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_message<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for MessageUpdatedEventData
impl Clone for MessageUpdatedEventData
Source§fn clone(&self) -> MessageUpdatedEventData
fn clone(&self) -> MessageUpdatedEventData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MessageUpdatedEventData
impl Debug for MessageUpdatedEventData
Source§impl Default for MessageUpdatedEventData
impl Default for MessageUpdatedEventData
Source§fn default() -> MessageUpdatedEventData
fn default() -> MessageUpdatedEventData
Returns the “default value” for a type. Read more
Source§impl Message for MessageUpdatedEventData
impl Message for MessageUpdatedEventData
Source§impl PartialEq for MessageUpdatedEventData
impl PartialEq for MessageUpdatedEventData
impl StructuralPartialEq for MessageUpdatedEventData
Auto Trait Implementations§
impl Freeze for MessageUpdatedEventData
impl RefUnwindSafe for MessageUpdatedEventData
impl Send for MessageUpdatedEventData
impl Sync for MessageUpdatedEventData
impl Unpin for MessageUpdatedEventData
impl UnsafeUnpin for MessageUpdatedEventData
impl UnwindSafe for MessageUpdatedEventData
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