pub struct Community {
pub creator: bool,
pub left: bool,
pub min: bool,
pub collapsed_in_dialogs: bool,
pub id: i64,
pub access_hash: Option<i64>,
pub title: String,
pub photo: ChatPhoto,
pub date: i32,
pub admin_rights: Option<ChatAdminRights>,
pub default_banned_rights: Option<ChatBannedRights>,
}Expand description
Generated from:
community#65efe954 flags:# creator:flags.0?true left:flags.2?true min:flags.12?true flags2:# collapsed_in_dialogs:flags2.20?true id:long access_hash:flags.13?long title:string photo:ChatPhoto date:int admin_rights:flags.14?ChatAdminRights default_banned_rights:flags.18?ChatBannedRights = ChatFields§
§creator: bool§left: bool§min: bool§collapsed_in_dialogs: bool§id: i64§access_hash: Option<i64>§title: String§photo: ChatPhoto§date: i32§admin_rights: Option<ChatAdminRights>§default_banned_rights: Option<ChatBannedRights>Trait Implementations§
Source§impl Deserializable for Community
impl Deserializable for Community
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 Community
impl Identifiable for Community
Source§const CONSTRUCTOR_ID: u32 = 0x65efe954
const CONSTRUCTOR_ID: u32 = 0x65efe954
The constructor ID as specified in the TL schema.
Source§impl Serializable for Community
impl Serializable for Community
impl StructuralPartialEq for Community
Auto Trait Implementations§
impl Freeze for Community
impl RefUnwindSafe for Community
impl Send for Community
impl Sync for Community
impl Unpin for Community
impl UnsafeUnpin for Community
impl UnwindSafe for Community
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