pub struct EditAccessSettings {
pub restricted: bool,
pub bot: InputUser,
pub add_users: Option<Vec<InputUser>>,
}Expand description
Generated from:
bots.editAccessSettings#31813cd8 flags:# restricted:flags.0?true bot:InputUser add_users:flags.1?Vector<InputUser> = BoolFields§
§restricted: bool§bot: InputUser§add_users: Option<Vec<InputUser>>Trait Implementations§
Source§impl Clone for EditAccessSettings
impl Clone for EditAccessSettings
Source§fn clone(&self) -> EditAccessSettings
fn clone(&self) -> EditAccessSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EditAccessSettings
impl Debug for EditAccessSettings
Source§impl Deserializable for EditAccessSettings
impl Deserializable for EditAccessSettings
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 Identifiable for EditAccessSettings
impl Identifiable for EditAccessSettings
Source§const CONSTRUCTOR_ID: u32 = 0x31813cd8
const CONSTRUCTOR_ID: u32 = 0x31813cd8
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EditAccessSettings
impl PartialEq for EditAccessSettings
Source§fn eq(&self, other: &EditAccessSettings) -> bool
fn eq(&self, other: &EditAccessSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RemoteCall for EditAccessSettings
impl RemoteCall for EditAccessSettings
Source§impl Serializable for EditAccessSettings
impl Serializable for EditAccessSettings
impl StructuralPartialEq for EditAccessSettings
Auto Trait Implementations§
impl Freeze for EditAccessSettings
impl RefUnwindSafe for EditAccessSettings
impl Send for EditAccessSettings
impl Sync for EditAccessSettings
impl Unpin for EditAccessSettings
impl UnsafeUnpin for EditAccessSettings
impl UnwindSafe for EditAccessSettings
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