pub struct InputMediaStakeDice {
pub game_hash: String,
pub ton_amount: i64,
pub client_seed: Vec<u8>,
}Expand description
Generated from:
inputMediaStakeDice#f3a9244a game_hash:string ton_amount:long client_seed:bytes = InputMediaFields§
§game_hash: String§ton_amount: i64§client_seed: Vec<u8>Trait Implementations§
Source§impl Clone for InputMediaStakeDice
impl Clone for InputMediaStakeDice
Source§fn clone(&self) -> InputMediaStakeDice
fn clone(&self) -> InputMediaStakeDice
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 InputMediaStakeDice
impl Debug for InputMediaStakeDice
Source§impl Deserializable for InputMediaStakeDice
impl Deserializable for InputMediaStakeDice
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<InputMediaStakeDice> for InputMedia
impl From<InputMediaStakeDice> for InputMedia
Source§fn from(x: InputMediaStakeDice) -> Self
fn from(x: InputMediaStakeDice) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputMediaStakeDice
impl Identifiable for InputMediaStakeDice
Source§const CONSTRUCTOR_ID: u32 = 0xf3a9244a
const CONSTRUCTOR_ID: u32 = 0xf3a9244a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputMediaStakeDice
impl PartialEq for InputMediaStakeDice
Source§impl Serializable for InputMediaStakeDice
impl Serializable for InputMediaStakeDice
Source§impl TryFrom<InputMedia> for InputMediaStakeDice
impl TryFrom<InputMedia> for InputMediaStakeDice
Source§type Error = InputMedia
type Error = InputMedia
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputMediaStakeDice
Auto Trait Implementations§
impl Freeze for InputMediaStakeDice
impl RefUnwindSafe for InputMediaStakeDice
impl Send for InputMediaStakeDice
impl Sync for InputMediaStakeDice
impl Unpin for InputMediaStakeDice
impl UnsafeUnpin for InputMediaStakeDice
impl UnwindSafe for InputMediaStakeDice
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