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