pub struct BotCommandScopePeerAdmins {
pub peer: InputPeer,
}Expand description
Generated from:
botCommandScopePeerAdmins#3fd863d1 peer:InputPeer = BotCommandScopeFields§
§peer: InputPeerTrait Implementations§
Source§impl Clone for BotCommandScopePeerAdmins
impl Clone for BotCommandScopePeerAdmins
Source§fn clone(&self) -> BotCommandScopePeerAdmins
fn clone(&self) -> BotCommandScopePeerAdmins
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 BotCommandScopePeerAdmins
impl Debug for BotCommandScopePeerAdmins
Source§impl Deserializable for BotCommandScopePeerAdmins
impl Deserializable for BotCommandScopePeerAdmins
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<BotCommandScopePeerAdmins> for BotCommandScope
impl From<BotCommandScopePeerAdmins> for BotCommandScope
Source§fn from(x: BotCommandScopePeerAdmins) -> Self
fn from(x: BotCommandScopePeerAdmins) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotCommandScopePeerAdmins
impl Identifiable for BotCommandScopePeerAdmins
Source§const CONSTRUCTOR_ID: u32 = 0x3fd863d1
const CONSTRUCTOR_ID: u32 = 0x3fd863d1
The constructor ID as specified in the TL schema.
Source§impl TryFrom<BotCommandScope> for BotCommandScopePeerAdmins
impl TryFrom<BotCommandScope> for BotCommandScopePeerAdmins
Source§type Error = BotCommandScope
type Error = BotCommandScope
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotCommandScopePeerAdmins
Auto Trait Implementations§
impl Freeze for BotCommandScopePeerAdmins
impl RefUnwindSafe for BotCommandScopePeerAdmins
impl Send for BotCommandScopePeerAdmins
impl Sync for BotCommandScopePeerAdmins
impl Unpin for BotCommandScopePeerAdmins
impl UnsafeUnpin for BotCommandScopePeerAdmins
impl UnwindSafe for BotCommandScopePeerAdmins
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