pub struct UpdateChannelMessageViews {
pub channel_id: i64,
pub id: i32,
pub views: i32,
}Expand description
Generated from:
updateChannelMessageViews#f226ac08 channel_id:long id:int views:int = UpdateFields§
§channel_id: i64§id: i32§views: i32Trait Implementations§
Source§impl Clone for UpdateChannelMessageViews
impl Clone for UpdateChannelMessageViews
Source§fn clone(&self) -> UpdateChannelMessageViews
fn clone(&self) -> UpdateChannelMessageViews
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 UpdateChannelMessageViews
impl Debug for UpdateChannelMessageViews
Source§impl Deserializable for UpdateChannelMessageViews
impl Deserializable for UpdateChannelMessageViews
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<UpdateChannelMessageViews> for Update
impl From<UpdateChannelMessageViews> for Update
Source§fn from(x: UpdateChannelMessageViews) -> Self
fn from(x: UpdateChannelMessageViews) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateChannelMessageViews
impl Identifiable for UpdateChannelMessageViews
Source§const CONSTRUCTOR_ID: u32 = 0xf226ac08
const CONSTRUCTOR_ID: u32 = 0xf226ac08
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateChannelMessageViews
impl TryFrom<Update> for UpdateChannelMessageViews
impl StructuralPartialEq for UpdateChannelMessageViews
Auto Trait Implementations§
impl Freeze for UpdateChannelMessageViews
impl RefUnwindSafe for UpdateChannelMessageViews
impl Send for UpdateChannelMessageViews
impl Sync for UpdateChannelMessageViews
impl Unpin for UpdateChannelMessageViews
impl UnsafeUnpin for UpdateChannelMessageViews
impl UnwindSafe for UpdateChannelMessageViews
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