pub struct UpdatePinnedDialogs {
pub folder_id: Option<i32>,
pub order: Option<Vec<DialogPeer>>,
}Expand description
Generated from:
updatePinnedDialogs#fa0f3ca2 flags:# folder_id:flags.1?int order:flags.0?Vector<DialogPeer> = UpdateFields§
§folder_id: Option<i32>§order: Option<Vec<DialogPeer>>Trait Implementations§
Source§impl Clone for UpdatePinnedDialogs
impl Clone for UpdatePinnedDialogs
Source§fn clone(&self) -> UpdatePinnedDialogs
fn clone(&self) -> UpdatePinnedDialogs
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 UpdatePinnedDialogs
impl Debug for UpdatePinnedDialogs
Source§impl Deserializable for UpdatePinnedDialogs
impl Deserializable for UpdatePinnedDialogs
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<UpdatePinnedDialogs> for Update
impl From<UpdatePinnedDialogs> for Update
Source§fn from(x: UpdatePinnedDialogs) -> Self
fn from(x: UpdatePinnedDialogs) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdatePinnedDialogs
impl Identifiable for UpdatePinnedDialogs
Source§const CONSTRUCTOR_ID: u32 = 0xfa0f3ca2
const CONSTRUCTOR_ID: u32 = 0xfa0f3ca2
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdatePinnedDialogs
impl PartialEq for UpdatePinnedDialogs
Source§impl Serializable for UpdatePinnedDialogs
impl Serializable for UpdatePinnedDialogs
Source§impl TryFrom<Update> for UpdatePinnedDialogs
impl TryFrom<Update> for UpdatePinnedDialogs
impl StructuralPartialEq for UpdatePinnedDialogs
Auto Trait Implementations§
impl Freeze for UpdatePinnedDialogs
impl RefUnwindSafe for UpdatePinnedDialogs
impl Send for UpdatePinnedDialogs
impl Sync for UpdatePinnedDialogs
impl Unpin for UpdatePinnedDialogs
impl UnsafeUnpin for UpdatePinnedDialogs
impl UnwindSafe for UpdatePinnedDialogs
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