pub struct BusinessRecipients {
pub existing_chats: bool,
pub new_chats: bool,
pub contacts: bool,
pub non_contacts: bool,
pub exclude_selected: bool,
pub users: Option<Vec<i64>>,
}Expand description
Generated from:
businessRecipients#21108ff7 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> = BusinessRecipientsFields§
§existing_chats: bool§new_chats: bool§contacts: bool§non_contacts: bool§exclude_selected: bool§users: Option<Vec<i64>>Trait Implementations§
Source§impl Clone for BusinessRecipients
impl Clone for BusinessRecipients
Source§fn clone(&self) -> BusinessRecipients
fn clone(&self) -> BusinessRecipients
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 BusinessRecipients
impl Debug for BusinessRecipients
Source§impl Deserializable for BusinessRecipients
impl Deserializable for BusinessRecipients
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<BusinessRecipients> for BusinessRecipients
impl From<BusinessRecipients> for BusinessRecipients
Source§fn from(x: BusinessRecipients) -> Self
fn from(x: BusinessRecipients) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BusinessRecipients
impl Identifiable for BusinessRecipients
Source§const CONSTRUCTOR_ID: u32 = 0x21108ff7
const CONSTRUCTOR_ID: u32 = 0x21108ff7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BusinessRecipients
impl PartialEq for BusinessRecipients
Source§impl Serializable for BusinessRecipients
impl Serializable for BusinessRecipients
Source§impl TryFrom<BusinessRecipients> for BusinessRecipients
impl TryFrom<BusinessRecipients> for BusinessRecipients
Source§type Error = BusinessRecipients
type Error = BusinessRecipients
The type returned in the event of a conversion error.
impl StructuralPartialEq for BusinessRecipients
Auto Trait Implementations§
impl Freeze for BusinessRecipients
impl RefUnwindSafe for BusinessRecipients
impl Send for BusinessRecipients
impl Sync for BusinessRecipients
impl Unpin for BusinessRecipients
impl UnsafeUnpin for BusinessRecipients
impl UnwindSafe for BusinessRecipients
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