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