pub struct StarsRating {
pub level: i32,
pub current_level_stars: i64,
pub stars: i64,
pub next_level_stars: Option<i64>,
}Expand description
Generated from:
starsRating#1b0e4f07 flags:# level:int current_level_stars:long stars:long next_level_stars:flags.0?long = StarsRatingFields§
§level: i32§current_level_stars: i64§stars: i64§next_level_stars: Option<i64>Trait Implementations§
Source§impl Clone for StarsRating
impl Clone for StarsRating
Source§fn clone(&self) -> StarsRating
fn clone(&self) -> StarsRating
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 StarsRating
impl Debug for StarsRating
Source§impl Deserializable for StarsRating
impl Deserializable for StarsRating
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<StarsRating> for StarsRating
impl From<StarsRating> for StarsRating
Source§fn from(x: StarsRating) -> Self
fn from(x: StarsRating) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StarsRating
impl Identifiable for StarsRating
Source§const CONSTRUCTOR_ID: u32 = 0x1b0e4f07
const CONSTRUCTOR_ID: u32 = 0x1b0e4f07
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StarsRating
impl PartialEq for StarsRating
Source§impl Serializable for StarsRating
impl Serializable for StarsRating
Source§impl TryFrom<StarsRating> for StarsRating
impl TryFrom<StarsRating> for StarsRating
Source§type Error = StarsRating
type Error = StarsRating
The type returned in the event of a conversion error.
impl StructuralPartialEq for StarsRating
Auto Trait Implementations§
impl Freeze for StarsRating
impl RefUnwindSafe for StarsRating
impl Send for StarsRating
impl Sync for StarsRating
impl Unpin for StarsRating
impl UnsafeUnpin for StarsRating
impl UnwindSafe for StarsRating
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