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