pub struct BusinessBotRecipients {
pub existing_chats: bool,
pub new_chats: bool,
pub contacts: bool,
pub non_contacts: bool,
pub exclude_selected: bool,
pub users: Option<Vec<i64>>,
pub exclude_users: Option<Vec<i64>>,
}Expand description
Generated from:
businessBotRecipients#b88cf373 flags:# existing_chats:flags.0?true new_chats:flags.1?true contacts:flags.2?true non_contacts:flags.3?true exclude_selected:flags.5?true users:flags.4?Vector<long> exclude_users:flags.6?Vector<long> = BusinessBotRecipientsFields§
§existing_chats: bool§new_chats: bool§contacts: bool§non_contacts: bool§exclude_selected: bool§users: Option<Vec<i64>>§exclude_users: Option<Vec<i64>>Trait Implementations§
Source§impl Clone for BusinessBotRecipients
impl Clone for BusinessBotRecipients
Source§fn clone(&self) -> BusinessBotRecipients
fn clone(&self) -> BusinessBotRecipients
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 BusinessBotRecipients
impl Debug for BusinessBotRecipients
Source§impl Deserializable for BusinessBotRecipients
impl Deserializable for BusinessBotRecipients
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<BusinessBotRecipients> for BusinessBotRecipients
impl From<BusinessBotRecipients> for BusinessBotRecipients
Source§fn from(x: BusinessBotRecipients) -> Self
fn from(x: BusinessBotRecipients) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BusinessBotRecipients
impl Identifiable for BusinessBotRecipients
Source§const CONSTRUCTOR_ID: u32 = 0xb88cf373
const CONSTRUCTOR_ID: u32 = 0xb88cf373
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BusinessBotRecipients
impl PartialEq for BusinessBotRecipients
Source§impl Serializable for BusinessBotRecipients
impl Serializable for BusinessBotRecipients
Source§impl TryFrom<BusinessBotRecipients> for BusinessBotRecipients
impl TryFrom<BusinessBotRecipients> for BusinessBotRecipients
Source§type Error = BusinessBotRecipients
type Error = BusinessBotRecipients
The type returned in the event of a conversion error.
impl StructuralPartialEq for BusinessBotRecipients
Auto Trait Implementations§
impl Freeze for BusinessBotRecipients
impl RefUnwindSafe for BusinessBotRecipients
impl Send for BusinessBotRecipients
impl Sync for BusinessBotRecipients
impl Unpin for BusinessBotRecipients
impl UnsafeUnpin for BusinessBotRecipients
impl UnwindSafe for BusinessBotRecipients
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