pub struct ChannelForbidden {
pub broadcast: bool,
pub megagroup: bool,
pub monoforum: bool,
pub id: i64,
pub access_hash: i64,
pub title: String,
pub until_date: Option<i32>,
}Expand description
Generated from:
channelForbidden#17d493d5 flags:# broadcast:flags.5?true megagroup:flags.8?true monoforum:flags.10?true id:long access_hash:long title:string until_date:flags.16?int = ChatFields§
§broadcast: bool§megagroup: bool§monoforum: bool§id: i64§access_hash: i64§title: String§until_date: Option<i32>Trait Implementations§
Source§impl Clone for ChannelForbidden
impl Clone for ChannelForbidden
Source§fn clone(&self) -> ChannelForbidden
fn clone(&self) -> ChannelForbidden
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 ChannelForbidden
impl Debug for ChannelForbidden
Source§impl Deserializable for ChannelForbidden
impl Deserializable for ChannelForbidden
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<ChannelForbidden> for Chat
impl From<ChannelForbidden> for Chat
Source§fn from(x: ChannelForbidden) -> Self
fn from(x: ChannelForbidden) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChannelForbidden
impl Identifiable for ChannelForbidden
Source§const CONSTRUCTOR_ID: u32 = 0x17d493d5
const CONSTRUCTOR_ID: u32 = 0x17d493d5
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChannelForbidden
impl PartialEq for ChannelForbidden
Source§impl Serializable for ChannelForbidden
impl Serializable for ChannelForbidden
Source§impl TryFrom<Chat> for ChannelForbidden
impl TryFrom<Chat> for ChannelForbidden
impl StructuralPartialEq for ChannelForbidden
Auto Trait Implementations§
impl Freeze for ChannelForbidden
impl RefUnwindSafe for ChannelForbidden
impl Send for ChannelForbidden
impl Sync for ChannelForbidden
impl Unpin for ChannelForbidden
impl UnsafeUnpin for ChannelForbidden
impl UnwindSafe for ChannelForbidden
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