pub struct MessageDataVideoChatParticipantsInvited {
pub users: Option<Vec<User>>,
}
Expand description
A service message about new members invited to a video chat.
Fields§
§users: Option<Vec<User>>
New members that were invited to the voice chat.
Implementations§
source§impl MessageDataVideoChatParticipantsInvited
impl MessageDataVideoChatParticipantsInvited
sourcepub fn with_users<T>(self, value: T) -> MessageDataVideoChatParticipantsInvitedwhere
T: IntoIterator<Item = User>,
pub fn with_users<T>(self, value: T) -> MessageDataVideoChatParticipantsInvitedwhere
T: IntoIterator<Item = User>,
Trait Implementations§
source§impl Clone for MessageDataVideoChatParticipantsInvited
impl Clone for MessageDataVideoChatParticipantsInvited
source§fn clone(&self) -> MessageDataVideoChatParticipantsInvited
fn clone(&self) -> MessageDataVideoChatParticipantsInvited
Returns a copy of the value. Read more
1.0.0 · 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 MessageDataVideoChatParticipantsInvited
impl Default for MessageDataVideoChatParticipantsInvited
source§fn default() -> MessageDataVideoChatParticipantsInvited
fn default() -> MessageDataVideoChatParticipantsInvited
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessageDataVideoChatParticipantsInvited
impl<'de> Deserialize<'de> for MessageDataVideoChatParticipantsInvited
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MessageDataVideoChatParticipantsInvited, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MessageDataVideoChatParticipantsInvited, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> From<T> for MessageDataVideoChatParticipantsInvitedwhere
T: IntoIterator<Item = User>,
impl<T> From<T> for MessageDataVideoChatParticipantsInvitedwhere
T: IntoIterator<Item = User>,
source§fn from(value: T) -> MessageDataVideoChatParticipantsInvited
fn from(value: T) -> MessageDataVideoChatParticipantsInvited
Converts to this type from the input type.
source§impl PartialEq for MessageDataVideoChatParticipantsInvited
impl PartialEq for MessageDataVideoChatParticipantsInvited
source§fn eq(&self, other: &MessageDataVideoChatParticipantsInvited) -> bool
fn eq(&self, other: &MessageDataVideoChatParticipantsInvited) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageDataVideoChatParticipantsInvited
impl Serialize for MessageDataVideoChatParticipantsInvited
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MessageDataVideoChatParticipantsInvited
Auto Trait Implementations§
impl Freeze for MessageDataVideoChatParticipantsInvited
impl RefUnwindSafe for MessageDataVideoChatParticipantsInvited
impl Send for MessageDataVideoChatParticipantsInvited
impl Sync for MessageDataVideoChatParticipantsInvited
impl Unpin for MessageDataVideoChatParticipantsInvited
impl UnwindSafe for MessageDataVideoChatParticipantsInvited
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more