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