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