#[non_exhaustive]pub struct ReactionBatchCreatedEventData {
pub reactions: Vec<ReactionCreatedEventData>,
/* private fields */
}Expand description
Event payload for multiple new reactions.
Event type: google.workspace.chat.reaction.v1.batchCreated
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.reactions: Vec<ReactionCreatedEventData>A list of new reactions.
Implementations§
Source§impl ReactionBatchCreatedEventData
impl ReactionBatchCreatedEventData
Sourcepub fn set_reactions<T, V>(self, v: T) -> Self
pub fn set_reactions<T, V>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for ReactionBatchCreatedEventData
impl Clone for ReactionBatchCreatedEventData
Source§fn clone(&self) -> ReactionBatchCreatedEventData
fn clone(&self) -> ReactionBatchCreatedEventData
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 Default for ReactionBatchCreatedEventData
impl Default for ReactionBatchCreatedEventData
Source§fn default() -> ReactionBatchCreatedEventData
fn default() -> ReactionBatchCreatedEventData
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ReactionBatchCreatedEventData
Auto Trait Implementations§
impl Freeze for ReactionBatchCreatedEventData
impl RefUnwindSafe for ReactionBatchCreatedEventData
impl Send for ReactionBatchCreatedEventData
impl Sync for ReactionBatchCreatedEventData
impl Unpin for ReactionBatchCreatedEventData
impl UnsafeUnpin for ReactionBatchCreatedEventData
impl UnwindSafe for ReactionBatchCreatedEventData
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