pub struct ChatCreateParticipant {
pub user_id: InlineId,
}Expand description
User participant supplied when creating an Inline chat.
Fields§
§user_id: InlineIdInline user ID.
Trait Implementations§
Source§impl Clone for ChatCreateParticipant
impl Clone for ChatCreateParticipant
Source§fn clone(&self) -> ChatCreateParticipant
fn clone(&self) -> ChatCreateParticipant
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 ChatCreateParticipant
impl Debug for ChatCreateParticipant
Source§impl<'de> Deserialize<'de> for ChatCreateParticipant
impl<'de> Deserialize<'de> for ChatCreateParticipant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ChatCreateParticipant
Source§impl From<InlineId> for ChatCreateParticipant
impl From<InlineId> for ChatCreateParticipant
Source§impl PartialEq for ChatCreateParticipant
impl PartialEq for ChatCreateParticipant
Source§fn eq(&self, other: &ChatCreateParticipant) -> bool
fn eq(&self, other: &ChatCreateParticipant) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChatCreateParticipant
impl Serialize for ChatCreateParticipant
impl StructuralPartialEq for ChatCreateParticipant
Auto Trait Implementations§
impl Freeze for ChatCreateParticipant
impl RefUnwindSafe for ChatCreateParticipant
impl Send for ChatCreateParticipant
impl Sync for ChatCreateParticipant
impl Unpin for ChatCreateParticipant
impl UnsafeUnpin for ChatCreateParticipant
impl UnwindSafe for ChatCreateParticipant
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