pub struct ChatInvitePeek {
pub chat: Chat,
pub expires: i32,
}Expand description
Fields§
§chat: Chat§expires: i32Trait Implementations§
Source§impl Clone for ChatInvitePeek
impl Clone for ChatInvitePeek
Source§fn clone(&self) -> ChatInvitePeek
fn clone(&self) -> ChatInvitePeek
Returns a duplicate 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 Debug for ChatInvitePeek
impl Debug for ChatInvitePeek
Source§impl Deserializable for ChatInvitePeek
impl Deserializable for ChatInvitePeek
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ChatInvitePeek> for ChatInvite
impl From<ChatInvitePeek> for ChatInvite
Source§fn from(x: ChatInvitePeek) -> Self
fn from(x: ChatInvitePeek) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatInvitePeek
impl Identifiable for ChatInvitePeek
Source§const CONSTRUCTOR_ID: u32 = 0x61695cb0
const CONSTRUCTOR_ID: u32 = 0x61695cb0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChatInvitePeek
impl PartialEq for ChatInvitePeek
Source§impl Serializable for ChatInvitePeek
impl Serializable for ChatInvitePeek
Source§impl TryFrom<ChatInvite> for ChatInvitePeek
impl TryFrom<ChatInvite> for ChatInvitePeek
Source§type Error = ChatInvite
type Error = ChatInvite
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatInvitePeek
Auto Trait Implementations§
impl Freeze for ChatInvitePeek
impl RefUnwindSafe for ChatInvitePeek
impl Send for ChatInvitePeek
impl Sync for ChatInvitePeek
impl Unpin for ChatInvitePeek
impl UnsafeUnpin for ChatInvitePeek
impl UnwindSafe for ChatInvitePeek
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