pub struct UpdatePinnedMessage {
pub silent: bool,
pub unpin: bool,
pub pm_oneside: bool,
pub peer: InputPeer,
pub id: i32,
}Expand description
Generated from:
messages.updatePinnedMessage#d2aaf7ec flags:# silent:flags.0?true unpin:flags.1?true pm_oneside:flags.2?true peer:InputPeer id:int = UpdatesFields§
§silent: bool§unpin: bool§pm_oneside: bool§peer: InputPeer§id: i32Trait Implementations§
Source§impl Clone for UpdatePinnedMessage
impl Clone for UpdatePinnedMessage
Source§fn clone(&self) -> UpdatePinnedMessage
fn clone(&self) -> UpdatePinnedMessage
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 UpdatePinnedMessage
impl Debug for UpdatePinnedMessage
Source§impl Identifiable for UpdatePinnedMessage
impl Identifiable for UpdatePinnedMessage
Source§const CONSTRUCTOR_ID: u32 = 0xd2aaf7ec
const CONSTRUCTOR_ID: u32 = 0xd2aaf7ec
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdatePinnedMessage
impl PartialEq for UpdatePinnedMessage
Source§impl RemoteCall for UpdatePinnedMessage
impl RemoteCall for UpdatePinnedMessage
Source§impl Serializable for UpdatePinnedMessage
impl Serializable for UpdatePinnedMessage
impl StructuralPartialEq for UpdatePinnedMessage
Auto Trait Implementations§
impl Freeze for UpdatePinnedMessage
impl RefUnwindSafe for UpdatePinnedMessage
impl Send for UpdatePinnedMessage
impl Sync for UpdatePinnedMessage
impl Unpin for UpdatePinnedMessage
impl UnsafeUnpin for UpdatePinnedMessage
impl UnwindSafe for UpdatePinnedMessage
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