#[non_exhaustive]pub struct MessageDeletedEventData {
pub message: Option<Message>,
/* private fields */
}Expand description
Event payload for a deleted message.
Event type: google.workspace.chat.message.v1.deleted
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 deleted message. Only the name, createTime, and
deletionMetadata fields are populated.
Implementations§
Source§impl MessageDeletedEventData
impl MessageDeletedEventData
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 MessageDeletedEventData
impl Clone for MessageDeletedEventData
Source§fn clone(&self) -> MessageDeletedEventData
fn clone(&self) -> MessageDeletedEventData
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 MessageDeletedEventData
impl Debug for MessageDeletedEventData
Source§impl Default for MessageDeletedEventData
impl Default for MessageDeletedEventData
Source§fn default() -> MessageDeletedEventData
fn default() -> MessageDeletedEventData
Returns the “default value” for a type. Read more
Source§impl Message for MessageDeletedEventData
impl Message for MessageDeletedEventData
Source§impl PartialEq for MessageDeletedEventData
impl PartialEq for MessageDeletedEventData
impl StructuralPartialEq for MessageDeletedEventData
Auto Trait Implementations§
impl Freeze for MessageDeletedEventData
impl RefUnwindSafe for MessageDeletedEventData
impl Send for MessageDeletedEventData
impl Sync for MessageDeletedEventData
impl Unpin for MessageDeletedEventData
impl UnsafeUnpin for MessageDeletedEventData
impl UnwindSafe for MessageDeletedEventData
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