pub struct InputMediaDice {
pub emoticon: String,
}Expand description
Fields§
§emoticon: StringTrait Implementations§
Source§impl Clone for InputMediaDice
impl Clone for InputMediaDice
Source§fn clone(&self) -> InputMediaDice
fn clone(&self) -> InputMediaDice
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 InputMediaDice
impl Debug for InputMediaDice
Source§impl Deserializable for InputMediaDice
impl Deserializable for InputMediaDice
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<InputMediaDice> for InputMedia
impl From<InputMediaDice> for InputMedia
Source§fn from(x: InputMediaDice) -> Self
fn from(x: InputMediaDice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaDice
impl Identifiable for InputMediaDice
Source§const CONSTRUCTOR_ID: u32 = 0xe66fbf7b
const CONSTRUCTOR_ID: u32 = 0xe66fbf7b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMediaDice
impl PartialEq for InputMediaDice
Source§impl Serializable for InputMediaDice
impl Serializable for InputMediaDice
Source§impl TryFrom<InputMedia> for InputMediaDice
impl TryFrom<InputMedia> for InputMediaDice
Source§type Error = InputMedia
type Error = InputMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMediaDice
Auto Trait Implementations§
impl Freeze for InputMediaDice
impl RefUnwindSafe for InputMediaDice
impl Send for InputMediaDice
impl Sync for InputMediaDice
impl Unpin for InputMediaDice
impl UnsafeUnpin for InputMediaDice
impl UnwindSafe for InputMediaDice
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