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