pub struct Folder {
pub autofill_new_broadcasts: bool,
pub autofill_public_groups: bool,
pub autofill_new_correspondents: bool,
pub id: i32,
pub title: String,
pub photo: Option<ChatPhoto>,
}Expand description
Generated from:
folder#ff544e65 flags:# autofill_new_broadcasts:flags.0?true autofill_public_groups:flags.1?true autofill_new_correspondents:flags.2?true id:int title:string photo:flags.3?ChatPhoto = FolderFields§
§autofill_new_broadcasts: bool§autofill_public_groups: bool§autofill_new_correspondents: bool§id: i32§title: String§photo: Option<ChatPhoto>Trait Implementations§
Source§impl Deserializable for Folder
impl Deserializable for Folder
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 Folder
impl Identifiable for Folder
Source§const CONSTRUCTOR_ID: u32 = 0xff544e65
const CONSTRUCTOR_ID: u32 = 0xff544e65
The constructor ID as specified in the TL schema.
Source§impl Serializable for Folder
impl Serializable for Folder
impl StructuralPartialEq for Folder
Auto Trait Implementations§
impl Freeze for Folder
impl RefUnwindSafe for Folder
impl Send for Folder
impl Sync for Folder
impl Unpin for Folder
impl UnsafeUnpin for Folder
impl UnwindSafe for Folder
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