pub struct ChannelAdminLogEventActionPinTopic {
pub prev_topic: Option<ForumTopic>,
pub new_topic: Option<ForumTopic>,
}Expand description
channelAdminLogEventActionPinTopic
Generated from:
channelAdminLogEventActionPinTopic#5d8d353b flags:# prev_topic:flags.0?ForumTopic new_topic:flags.1?ForumTopic = ChannelAdminLogEventActionFields§
§prev_topic: Option<ForumTopic>§new_topic: Option<ForumTopic>Trait Implementations§
Source§impl Clone for ChannelAdminLogEventActionPinTopic
impl Clone for ChannelAdminLogEventActionPinTopic
Source§fn clone(&self) -> ChannelAdminLogEventActionPinTopic
fn clone(&self) -> ChannelAdminLogEventActionPinTopic
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 Deserializable for ChannelAdminLogEventActionPinTopic
impl Deserializable for ChannelAdminLogEventActionPinTopic
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<ChannelAdminLogEventActionPinTopic> for ChannelAdminLogEventAction
impl From<ChannelAdminLogEventActionPinTopic> for ChannelAdminLogEventAction
Source§fn from(x: ChannelAdminLogEventActionPinTopic) -> Self
fn from(x: ChannelAdminLogEventActionPinTopic) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelAdminLogEventActionPinTopic
impl Identifiable for ChannelAdminLogEventActionPinTopic
Source§const CONSTRUCTOR_ID: u32 = 0x5d8d353b
const CONSTRUCTOR_ID: u32 = 0x5d8d353b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelAdminLogEventActionPinTopic
impl PartialEq for ChannelAdminLogEventActionPinTopic
Source§fn eq(&self, other: &ChannelAdminLogEventActionPinTopic) -> bool
fn eq(&self, other: &ChannelAdminLogEventActionPinTopic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionPinTopic
impl TryFrom<ChannelAdminLogEventAction> for ChannelAdminLogEventActionPinTopic
Source§type Error = ChannelAdminLogEventAction
type Error = ChannelAdminLogEventAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelAdminLogEventActionPinTopic
Auto Trait Implementations§
impl Freeze for ChannelAdminLogEventActionPinTopic
impl RefUnwindSafe for ChannelAdminLogEventActionPinTopic
impl Send for ChannelAdminLogEventActionPinTopic
impl Sync for ChannelAdminLogEventActionPinTopic
impl Unpin for ChannelAdminLogEventActionPinTopic
impl UnsafeUnpin for ChannelAdminLogEventActionPinTopic
impl UnwindSafe for ChannelAdminLogEventActionPinTopic
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