pub struct BusinessBotRights {Show 14 fields
pub reply: bool,
pub read_messages: bool,
pub delete_sent_messages: bool,
pub delete_received_messages: bool,
pub edit_name: bool,
pub edit_bio: bool,
pub edit_profile_photo: bool,
pub edit_username: bool,
pub view_gifts: bool,
pub sell_gifts: bool,
pub change_gift_settings: bool,
pub transfer_and_upgrade_gifts: bool,
pub transfer_stars: bool,
pub manage_stories: bool,
}Expand description
Generated from:
businessBotRights#a0624cf7 flags:# reply:flags.0?true read_messages:flags.1?true delete_sent_messages:flags.2?true delete_received_messages:flags.3?true edit_name:flags.4?true edit_bio:flags.5?true edit_profile_photo:flags.6?true edit_username:flags.7?true view_gifts:flags.8?true sell_gifts:flags.9?true change_gift_settings:flags.10?true transfer_and_upgrade_gifts:flags.11?true transfer_stars:flags.12?true manage_stories:flags.13?true = BusinessBotRightsFields§
§reply: bool§read_messages: bool§delete_sent_messages: bool§delete_received_messages: bool§edit_name: bool§edit_bio: bool§edit_profile_photo: bool§edit_username: bool§view_gifts: bool§sell_gifts: bool§change_gift_settings: bool§transfer_and_upgrade_gifts: bool§transfer_stars: bool§manage_stories: boolTrait Implementations§
Source§impl Clone for BusinessBotRights
impl Clone for BusinessBotRights
Source§fn clone(&self) -> BusinessBotRights
fn clone(&self) -> BusinessBotRights
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 BusinessBotRights
impl Debug for BusinessBotRights
Source§impl Deserializable for BusinessBotRights
impl Deserializable for BusinessBotRights
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<BusinessBotRights> for BusinessBotRights
impl From<BusinessBotRights> for BusinessBotRights
Source§fn from(x: BusinessBotRights) -> Self
fn from(x: BusinessBotRights) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BusinessBotRights
impl Identifiable for BusinessBotRights
Source§const CONSTRUCTOR_ID: u32 = 0xa0624cf7
const CONSTRUCTOR_ID: u32 = 0xa0624cf7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BusinessBotRights
impl PartialEq for BusinessBotRights
Source§impl Serializable for BusinessBotRights
impl Serializable for BusinessBotRights
Source§impl TryFrom<BusinessBotRights> for BusinessBotRights
impl TryFrom<BusinessBotRights> for BusinessBotRights
Source§type Error = BusinessBotRights
type Error = BusinessBotRights
The type returned in the event of a conversion error.
impl StructuralPartialEq for BusinessBotRights
Auto Trait Implementations§
impl Freeze for BusinessBotRights
impl RefUnwindSafe for BusinessBotRights
impl Send for BusinessBotRights
impl Sync for BusinessBotRights
impl Unpin for BusinessBotRights
impl UnsafeUnpin for BusinessBotRights
impl UnwindSafe for BusinessBotRights
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