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