pub struct AvailableReactions {
pub hash: i32,
pub reactions: Vec<AvailableReaction>,
}Expand description
Generated from:
messages.availableReactions#768e3aad hash:int reactions:Vector<AvailableReaction> = messages.AvailableReactionsFields§
§hash: i32§reactions: Vec<AvailableReaction>Trait Implementations§
Source§impl Clone for AvailableReactions
impl Clone for AvailableReactions
Source§fn clone(&self) -> AvailableReactions
fn clone(&self) -> AvailableReactions
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 AvailableReactions
impl Debug for AvailableReactions
Source§impl Deserializable for AvailableReactions
impl Deserializable for AvailableReactions
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<AvailableReactions> for AvailableReactions
impl From<AvailableReactions> for AvailableReactions
Source§fn from(x: AvailableReactions) -> Self
fn from(x: AvailableReactions) -> Self
Converts to this type from the input type.
Source§impl Identifiable for AvailableReactions
impl Identifiable for AvailableReactions
Source§const CONSTRUCTOR_ID: u32 = 0x768e3aad
const CONSTRUCTOR_ID: u32 = 0x768e3aad
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AvailableReactions
impl PartialEq for AvailableReactions
Source§impl Serializable for AvailableReactions
impl Serializable for AvailableReactions
Source§impl TryFrom<AvailableReactions> for AvailableReactions
impl TryFrom<AvailableReactions> for AvailableReactions
Source§type Error = AvailableReactions
type Error = AvailableReactions
The type returned in the event of a conversion error.
impl StructuralPartialEq for AvailableReactions
Auto Trait Implementations§
impl Freeze for AvailableReactions
impl RefUnwindSafe for AvailableReactions
impl Send for AvailableReactions
impl Sync for AvailableReactions
impl Unpin for AvailableReactions
impl UnsafeUnpin for AvailableReactions
impl UnwindSafe for AvailableReactions
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