pub struct ChannelDifferenceEmpty {
pub final: bool,
pub pts: i32,
pub timeout: Option<i32>,
}Expand description
updates.channelDifferenceEmpty
Generated from:
updates.channelDifferenceEmpty#3e11affb flags:# final:flags.0?true pts:int timeout:flags.1?int = updates.ChannelDifferenceFields§
§final: bool§pts: i32§timeout: Option<i32>Trait Implementations§
Source§impl Clone for ChannelDifferenceEmpty
impl Clone for ChannelDifferenceEmpty
Source§fn clone(&self) -> ChannelDifferenceEmpty
fn clone(&self) -> ChannelDifferenceEmpty
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 ChannelDifferenceEmpty
impl Debug for ChannelDifferenceEmpty
Source§impl Deserializable for ChannelDifferenceEmpty
impl Deserializable for ChannelDifferenceEmpty
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<ChannelDifferenceEmpty> for ChannelDifference
impl From<ChannelDifferenceEmpty> for ChannelDifference
Source§fn from(x: ChannelDifferenceEmpty) -> Self
fn from(x: ChannelDifferenceEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelDifferenceEmpty
impl Identifiable for ChannelDifferenceEmpty
Source§const CONSTRUCTOR_ID: u32 = 0x3e11affb
const CONSTRUCTOR_ID: u32 = 0x3e11affb
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelDifferenceEmpty
impl PartialEq for ChannelDifferenceEmpty
Source§impl TryFrom<ChannelDifference> for ChannelDifferenceEmpty
impl TryFrom<ChannelDifference> for ChannelDifferenceEmpty
Source§type Error = ChannelDifference
type Error = ChannelDifference
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChannelDifferenceEmpty
Auto Trait Implementations§
impl Freeze for ChannelDifferenceEmpty
impl RefUnwindSafe for ChannelDifferenceEmpty
impl Send for ChannelDifferenceEmpty
impl Sync for ChannelDifferenceEmpty
impl Unpin for ChannelDifferenceEmpty
impl UnsafeUnpin for ChannelDifferenceEmpty
impl UnwindSafe for ChannelDifferenceEmpty
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