#[non_exhaustive]pub struct KicksGift {
pub gift_id: Option<String>,
pub name: Option<String>,
pub amount: i64,
pub kind: Option<String>,
pub tier: Option<String>,
pub pinned_time: Option<i64>,
}Expand description
A Kicks gift.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.gift_id: Option<String>Kick’s gift id.
name: Option<String>The display name (“Hell Yeah”, “Rage Quit”, …).
amount: i64Kicks spent.
kind: Option<String>BASIC, LEVEL_UP, …
tier: Option<String>BASIC, MID, …
pinned_time: Option<i64>How long it stays pinned, seconds.
Trait Implementations§
impl Eq for KicksGift
impl StructuralPartialEq for KicksGift
Auto Trait Implementations§
impl Freeze for KicksGift
impl RefUnwindSafe for KicksGift
impl Send for KicksGift
impl Sync for KicksGift
impl Unpin for KicksGift
impl UnsafeUnpin for KicksGift
impl UnwindSafe for KicksGift
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