pub struct MessageActionBotAllowed {
pub attach_menu: bool,
pub from_request: bool,
pub domain: Option<String>,
pub app: Option<BotApp>,
}Expand description
Generated from:
messageActionBotAllowed#c516d679 flags:# attach_menu:flags.1?true from_request:flags.3?true domain:flags.0?string app:flags.2?BotApp = MessageActionFields§
§from_request: bool§domain: Option<String>§app: Option<BotApp>Trait Implementations§
Source§impl Clone for MessageActionBotAllowed
impl Clone for MessageActionBotAllowed
Source§fn clone(&self) -> MessageActionBotAllowed
fn clone(&self) -> MessageActionBotAllowed
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 MessageActionBotAllowed
impl Debug for MessageActionBotAllowed
Source§impl Deserializable for MessageActionBotAllowed
impl Deserializable for MessageActionBotAllowed
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<MessageActionBotAllowed> for MessageAction
impl From<MessageActionBotAllowed> for MessageAction
Source§fn from(x: MessageActionBotAllowed) -> Self
fn from(x: MessageActionBotAllowed) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionBotAllowed
impl Identifiable for MessageActionBotAllowed
Source§const CONSTRUCTOR_ID: u32 = 0xc516d679
const CONSTRUCTOR_ID: u32 = 0xc516d679
The constructor ID as specified in the TL schema.
Source§impl PartialEq for MessageActionBotAllowed
impl PartialEq for MessageActionBotAllowed
Source§impl TryFrom<MessageAction> for MessageActionBotAllowed
impl TryFrom<MessageAction> for MessageActionBotAllowed
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
impl StructuralPartialEq for MessageActionBotAllowed
Auto Trait Implementations§
impl Freeze for MessageActionBotAllowed
impl RefUnwindSafe for MessageActionBotAllowed
impl Send for MessageActionBotAllowed
impl Sync for MessageActionBotAllowed
impl Unpin for MessageActionBotAllowed
impl UnsafeUnpin for MessageActionBotAllowed
impl UnwindSafe for MessageActionBotAllowed
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