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