pub struct UpdateChannelAvailableMessages {
pub channel_id: i64,
pub available_min_id: i32,
}Expand description
updateChannelAvailableMessages
Generated from:
updateChannelAvailableMessages#b23fc698 channel_id:long available_min_id:int = UpdateFields§
§channel_id: i64§available_min_id: i32Trait Implementations§
Source§impl Clone for UpdateChannelAvailableMessages
impl Clone for UpdateChannelAvailableMessages
Source§fn clone(&self) -> UpdateChannelAvailableMessages
fn clone(&self) -> UpdateChannelAvailableMessages
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 UpdateChannelAvailableMessages
impl Deserializable for UpdateChannelAvailableMessages
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<UpdateChannelAvailableMessages> for Update
impl From<UpdateChannelAvailableMessages> for Update
Source§fn from(x: UpdateChannelAvailableMessages) -> Self
fn from(x: UpdateChannelAvailableMessages) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChannelAvailableMessages
impl Identifiable for UpdateChannelAvailableMessages
Source§const CONSTRUCTOR_ID: u32 = 0xb23fc698
const CONSTRUCTOR_ID: u32 = 0xb23fc698
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateChannelAvailableMessages
impl PartialEq for UpdateChannelAvailableMessages
Source§fn eq(&self, other: &UpdateChannelAvailableMessages) -> bool
fn eq(&self, other: &UpdateChannelAvailableMessages) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateChannelAvailableMessages
Auto Trait Implementations§
impl Freeze for UpdateChannelAvailableMessages
impl RefUnwindSafe for UpdateChannelAvailableMessages
impl Send for UpdateChannelAvailableMessages
impl Sync for UpdateChannelAvailableMessages
impl Unpin for UpdateChannelAvailableMessages
impl UnsafeUnpin for UpdateChannelAvailableMessages
impl UnwindSafe for UpdateChannelAvailableMessages
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