pub struct InputMessageId {
pub id: i32,
}Expand description
Fields§
§id: i32Trait Implementations§
Source§impl Clone for InputMessageId
impl Clone for InputMessageId
Source§fn clone(&self) -> InputMessageId
fn clone(&self) -> InputMessageId
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 InputMessageId
impl Debug for InputMessageId
Source§impl Deserializable for InputMessageId
impl Deserializable for InputMessageId
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<InputMessageId> for InputMessage
impl From<InputMessageId> for InputMessage
Source§fn from(x: InputMessageId) -> Self
fn from(x: InputMessageId) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMessageId
impl Identifiable for InputMessageId
Source§const CONSTRUCTOR_ID: u32 = 0xa676a322
const CONSTRUCTOR_ID: u32 = 0xa676a322
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMessageId
impl PartialEq for InputMessageId
Source§impl Serializable for InputMessageId
impl Serializable for InputMessageId
Source§impl TryFrom<InputMessage> for InputMessageId
impl TryFrom<InputMessage> for InputMessageId
Source§type Error = InputMessage
type Error = InputMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMessageId
Auto Trait Implementations§
impl Freeze for InputMessageId
impl RefUnwindSafe for InputMessageId
impl Send for InputMessageId
impl Sync for InputMessageId
impl Unpin for InputMessageId
impl UnsafeUnpin for InputMessageId
impl UnwindSafe for InputMessageId
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