pub struct DialogPeerFolder {
pub folder_id: i32,
}Expand description
Fields§
§folder_id: i32Trait Implementations§
Source§impl Clone for DialogPeerFolder
impl Clone for DialogPeerFolder
Source§fn clone(&self) -> DialogPeerFolder
fn clone(&self) -> DialogPeerFolder
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 DialogPeerFolder
impl Debug for DialogPeerFolder
Source§impl Deserializable for DialogPeerFolder
impl Deserializable for DialogPeerFolder
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<DialogPeerFolder> for DialogPeer
impl From<DialogPeerFolder> for DialogPeer
Source§fn from(x: DialogPeerFolder) -> Self
fn from(x: DialogPeerFolder) -> Self
Converts to this type from the input type.
Source§impl Identifiable for DialogPeerFolder
impl Identifiable for DialogPeerFolder
Source§const CONSTRUCTOR_ID: u32 = 0x514519e2
const CONSTRUCTOR_ID: u32 = 0x514519e2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for DialogPeerFolder
impl PartialEq for DialogPeerFolder
Source§impl Serializable for DialogPeerFolder
impl Serializable for DialogPeerFolder
Source§impl TryFrom<DialogPeer> for DialogPeerFolder
impl TryFrom<DialogPeer> for DialogPeerFolder
Source§type Error = DialogPeer
type Error = DialogPeer
The type returned in the event of a conversion error.
impl StructuralPartialEq for DialogPeerFolder
Auto Trait Implementations§
impl Freeze for DialogPeerFolder
impl RefUnwindSafe for DialogPeerFolder
impl Send for DialogPeerFolder
impl Sync for DialogPeerFolder
impl Unpin for DialogPeerFolder
impl UnsafeUnpin for DialogPeerFolder
impl UnwindSafe for DialogPeerFolder
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