pub struct Chat {Show 15 fields
pub creator: bool,
pub left: bool,
pub deactivated: bool,
pub call_active: bool,
pub call_not_empty: bool,
pub noforwards: bool,
pub id: i64,
pub title: String,
pub photo: ChatPhoto,
pub participants_count: i32,
pub date: i32,
pub version: i32,
pub migrated_to: Option<InputChannel>,
pub admin_rights: Option<ChatAdminRights>,
pub default_banned_rights: Option<ChatBannedRights>,
}Expand description
Generated from:
chat#41cbf256 flags:# creator:flags.0?true left:flags.2?true deactivated:flags.5?true call_active:flags.23?true call_not_empty:flags.24?true noforwards:flags.25?true id:long title:string photo:ChatPhoto participants_count:int date:int version:int migrated_to:flags.6?InputChannel admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = ChatFields§
§creator: bool§left: bool§deactivated: bool§call_active: bool§call_not_empty: bool§noforwards: bool§id: i64§title: String§photo: ChatPhoto§participants_count: i32§date: i32§version: i32§migrated_to: Option<InputChannel>§admin_rights: Option<ChatAdminRights>§default_banned_rights: Option<ChatBannedRights>Trait Implementations§
Source§impl Deserializable for Chat
impl Deserializable for Chat
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 Identifiable for Chat
impl Identifiable for Chat
Source§const CONSTRUCTOR_ID: u32 = 0x41cbf256
const CONSTRUCTOR_ID: u32 = 0x41cbf256
The constructor ID as specified in the TL schema.
Source§impl Serializable for Chat
impl Serializable for Chat
impl StructuralPartialEq for Chat
Auto Trait Implementations§
impl Freeze for Chat
impl RefUnwindSafe for Chat
impl Send for Chat
impl Sync for Chat
impl Unpin for Chat
impl UnsafeUnpin for Chat
impl UnwindSafe for Chat
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