pub struct ChatInviteImporter {
pub requested: bool,
pub via_chatlist: bool,
pub user_id: i64,
pub date: i32,
pub about: Option<String>,
pub approved_by: Option<i64>,
}Expand description
Generated from:
chatInviteImporter#8c5adfd9 flags:# requested:flags.0?true via_chatlist:flags.3?true user_id:long date:int about:flags.2?string approved_by:flags.1?long = ChatInviteImporterFields§
§requested: bool§via_chatlist: bool§user_id: i64§date: i32§about: Option<String>§approved_by: Option<i64>Trait Implementations§
Source§impl Clone for ChatInviteImporter
impl Clone for ChatInviteImporter
Source§fn clone(&self) -> ChatInviteImporter
fn clone(&self) -> ChatInviteImporter
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 ChatInviteImporter
impl Debug for ChatInviteImporter
Source§impl Deserializable for ChatInviteImporter
impl Deserializable for ChatInviteImporter
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<ChatInviteImporter> for ChatInviteImporter
impl From<ChatInviteImporter> for ChatInviteImporter
Source§fn from(x: ChatInviteImporter) -> Self
fn from(x: ChatInviteImporter) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatInviteImporter
impl Identifiable for ChatInviteImporter
Source§const CONSTRUCTOR_ID: u32 = 0x8c5adfd9
const CONSTRUCTOR_ID: u32 = 0x8c5adfd9
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChatInviteImporter
impl PartialEq for ChatInviteImporter
Source§impl Serializable for ChatInviteImporter
impl Serializable for ChatInviteImporter
Source§impl TryFrom<ChatInviteImporter> for ChatInviteImporter
impl TryFrom<ChatInviteImporter> for ChatInviteImporter
Source§type Error = ChatInviteImporter
type Error = ChatInviteImporter
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatInviteImporter
Auto Trait Implementations§
impl Freeze for ChatInviteImporter
impl RefUnwindSafe for ChatInviteImporter
impl Send for ChatInviteImporter
impl Sync for ChatInviteImporter
impl Unpin for ChatInviteImporter
impl UnsafeUnpin for ChatInviteImporter
impl UnwindSafe for ChatInviteImporter
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