pub struct ShopOffer {
pub offer_id: String,
pub kind: ShopOfferKind,
pub label: String,
pub template_id: Option<String>,
pub blueprint_id: Option<String>,
pub price_copper: u32,
pub affordable: bool,
pub already_owned: bool,
}Fields§
§offer_id: String§kind: ShopOfferKind§label: String§template_id: Option<String>§blueprint_id: Option<String>§price_copper: u32§affordable: bool§already_owned: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ShopOffer
impl<'de> Deserialize<'de> for ShopOffer
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
impl StructuralPartialEq for ShopOffer
Auto Trait Implementations§
impl Freeze for ShopOffer
impl RefUnwindSafe for ShopOffer
impl Send for ShopOffer
impl Sync for ShopOffer
impl Unpin for ShopOffer
impl UnsafeUnpin for ShopOffer
impl UnwindSafe for ShopOffer
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