#[non_exhaustive]pub struct ReactionDeletedEventData {
pub reaction: Option<Reaction>,
/* private fields */
}Expand description
Event payload for a deleted reaction.
Type: google.workspace.chat.reaction.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.reaction: Option<Reaction>The deleted reaction.
Implementations§
Source§impl ReactionDeletedEventData
impl ReactionDeletedEventData
Sourcepub fn set_reaction<T>(self, v: T) -> Self
pub fn set_reaction<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_reaction<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_reaction<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for ReactionDeletedEventData
impl Clone for ReactionDeletedEventData
Source§fn clone(&self) -> ReactionDeletedEventData
fn clone(&self) -> ReactionDeletedEventData
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 ReactionDeletedEventData
impl Debug for ReactionDeletedEventData
Source§impl Default for ReactionDeletedEventData
impl Default for ReactionDeletedEventData
Source§fn default() -> ReactionDeletedEventData
fn default() -> ReactionDeletedEventData
Returns the “default value” for a type. Read more
Source§impl Message for ReactionDeletedEventData
impl Message for ReactionDeletedEventData
Source§impl PartialEq for ReactionDeletedEventData
impl PartialEq for ReactionDeletedEventData
impl StructuralPartialEq for ReactionDeletedEventData
Auto Trait Implementations§
impl Freeze for ReactionDeletedEventData
impl RefUnwindSafe for ReactionDeletedEventData
impl Send for ReactionDeletedEventData
impl Sync for ReactionDeletedEventData
impl Unpin for ReactionDeletedEventData
impl UnsafeUnpin for ReactionDeletedEventData
impl UnwindSafe for ReactionDeletedEventData
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