pub struct KeyboardButtonRequestManagedBot {
pub bot_is_active: Option<bool>,
}Expand description
Request a managed bot from the user.
Fields§
§bot_is_active: Option<bool>true to request only active managed bots.
Trait Implementations§
Source§impl Clone for KeyboardButtonRequestManagedBot
impl Clone for KeyboardButtonRequestManagedBot
Source§fn clone(&self) -> KeyboardButtonRequestManagedBot
fn clone(&self) -> KeyboardButtonRequestManagedBot
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 Default for KeyboardButtonRequestManagedBot
impl Default for KeyboardButtonRequestManagedBot
Source§fn default() -> KeyboardButtonRequestManagedBot
fn default() -> KeyboardButtonRequestManagedBot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KeyboardButtonRequestManagedBot
impl<'de> Deserialize<'de> for KeyboardButtonRequestManagedBot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KeyboardButtonRequestManagedBot
impl RefUnwindSafe for KeyboardButtonRequestManagedBot
impl Send for KeyboardButtonRequestManagedBot
impl Sync for KeyboardButtonRequestManagedBot
impl Unpin for KeyboardButtonRequestManagedBot
impl UnsafeUnpin for KeyboardButtonRequestManagedBot
impl UnwindSafe for KeyboardButtonRequestManagedBot
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