pub struct Entitlement {
pub plus: bool,
pub tier: String,
pub source: String,
pub owns_game: bool,
pub credits: f64,
}Expand description
What the traveler already holds against a project, shaped to
GET /entitlements/:projectId (tolerant to extras).
Fields§
§plus: bool§tier: String§source: String§owns_game: bool§credits: f64Trait Implementations§
Source§impl Clone for Entitlement
impl Clone for Entitlement
Source§impl Debug for Entitlement
impl Debug for Entitlement
Source§impl Default for Entitlement
impl Default for Entitlement
Source§impl<'de> Deserialize<'de> for Entitlement
impl<'de> Deserialize<'de> for Entitlement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Entitlement
impl RefUnwindSafe for Entitlement
impl Send for Entitlement
impl Sync for Entitlement
impl Unpin for Entitlement
impl UnsafeUnpin for Entitlement
impl UnwindSafe for Entitlement
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