pub struct MessageActionNoForwardsToggle {
pub prev_value: bool,
pub new_value: bool,
}Expand description
Generated from:
messageActionNoForwardsToggle#bf7d6572 prev_value:Bool new_value:Bool = MessageActionFields§
§prev_value: bool§new_value: boolTrait Implementations§
Source§impl Clone for MessageActionNoForwardsToggle
impl Clone for MessageActionNoForwardsToggle
Source§fn clone(&self) -> MessageActionNoForwardsToggle
fn clone(&self) -> MessageActionNoForwardsToggle
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 MessageActionNoForwardsToggle
impl Deserializable for MessageActionNoForwardsToggle
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<MessageActionNoForwardsToggle> for MessageAction
impl From<MessageActionNoForwardsToggle> for MessageAction
Source§fn from(x: MessageActionNoForwardsToggle) -> Self
fn from(x: MessageActionNoForwardsToggle) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionNoForwardsToggle
impl Identifiable for MessageActionNoForwardsToggle
Source§const CONSTRUCTOR_ID: u32 = 0xbf7d6572
const CONSTRUCTOR_ID: u32 = 0xbf7d6572
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageActionNoForwardsToggle
impl PartialEq for MessageActionNoForwardsToggle
Source§fn eq(&self, other: &MessageActionNoForwardsToggle) -> bool
fn eq(&self, other: &MessageActionNoForwardsToggle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<MessageAction> for MessageActionNoForwardsToggle
impl TryFrom<MessageAction> for MessageActionNoForwardsToggle
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionNoForwardsToggle
Auto Trait Implementations§
impl Freeze for MessageActionNoForwardsToggle
impl RefUnwindSafe for MessageActionNoForwardsToggle
impl Send for MessageActionNoForwardsToggle
impl Sync for MessageActionNoForwardsToggle
impl Unpin for MessageActionNoForwardsToggle
impl UnsafeUnpin for MessageActionNoForwardsToggle
impl UnwindSafe for MessageActionNoForwardsToggle
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