pub struct ChatReactionsAll {
pub allow_custom: bool,
}Expand description
Generated from:
chatReactionsAll#52928bca flags:# allow_custom:flags.0?true = ChatReactionsFields§
§allow_custom: boolTrait Implementations§
Source§impl Clone for ChatReactionsAll
impl Clone for ChatReactionsAll
Source§fn clone(&self) -> ChatReactionsAll
fn clone(&self) -> ChatReactionsAll
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 ChatReactionsAll
impl Debug for ChatReactionsAll
Source§impl Deserializable for ChatReactionsAll
impl Deserializable for ChatReactionsAll
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<ChatReactionsAll> for ChatReactions
impl From<ChatReactionsAll> for ChatReactions
Source§fn from(x: ChatReactionsAll) -> Self
fn from(x: ChatReactionsAll) -> Self
Converts to this type from the input type.
Source§impl Identifiable for ChatReactionsAll
impl Identifiable for ChatReactionsAll
Source§const CONSTRUCTOR_ID: u32 = 0x52928bca
const CONSTRUCTOR_ID: u32 = 0x52928bca
The constructor ID as specified in the TL schema.
Source§impl PartialEq for ChatReactionsAll
impl PartialEq for ChatReactionsAll
Source§impl Serializable for ChatReactionsAll
impl Serializable for ChatReactionsAll
Source§impl TryFrom<ChatReactions> for ChatReactionsAll
impl TryFrom<ChatReactions> for ChatReactionsAll
Source§type Error = ChatReactions
type Error = ChatReactions
The type returned in the event of a conversion error.
impl StructuralPartialEq for ChatReactionsAll
Auto Trait Implementations§
impl Freeze for ChatReactionsAll
impl RefUnwindSafe for ChatReactionsAll
impl Send for ChatReactionsAll
impl Sync for ChatReactionsAll
impl Unpin for ChatReactionsAll
impl UnsafeUnpin for ChatReactionsAll
impl UnwindSafe for ChatReactionsAll
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