pub struct StarGiftAttributeRarity {
pub permille: i32,
}Expand description
Generated from:
starGiftAttributeRarity#36437737 permille:int = StarGiftAttributeRarityFields§
§permille: i32Trait Implementations§
Source§impl Clone for StarGiftAttributeRarity
impl Clone for StarGiftAttributeRarity
Source§fn clone(&self) -> StarGiftAttributeRarity
fn clone(&self) -> StarGiftAttributeRarity
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 StarGiftAttributeRarity
impl Debug for StarGiftAttributeRarity
Source§impl Deserializable for StarGiftAttributeRarity
impl Deserializable for StarGiftAttributeRarity
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<StarGiftAttributeRarity> for StarGiftAttributeRarity
impl From<StarGiftAttributeRarity> for StarGiftAttributeRarity
Source§fn from(x: StarGiftAttributeRarity) -> Self
fn from(x: StarGiftAttributeRarity) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarGiftAttributeRarity
impl Identifiable for StarGiftAttributeRarity
Source§const CONSTRUCTOR_ID: u32 = 0x36437737
const CONSTRUCTOR_ID: u32 = 0x36437737
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StarGiftAttributeRarity
impl PartialEq for StarGiftAttributeRarity
Source§impl TryFrom<StarGiftAttributeRarity> for StarGiftAttributeRarity
impl TryFrom<StarGiftAttributeRarity> for StarGiftAttributeRarity
Source§type Error = StarGiftAttributeRarity
type Error = StarGiftAttributeRarity
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarGiftAttributeRarity
Auto Trait Implementations§
impl Freeze for StarGiftAttributeRarity
impl RefUnwindSafe for StarGiftAttributeRarity
impl Send for StarGiftAttributeRarity
impl Sync for StarGiftAttributeRarity
impl Unpin for StarGiftAttributeRarity
impl UnsafeUnpin for StarGiftAttributeRarity
impl UnwindSafe for StarGiftAttributeRarity
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