pub struct ItadPrice {
pub price: f64,
pub currency: String,
pub cut: Option<i32>,
pub shop: ItadShop,
pub url: Option<String>,
pub voucher: Option<String>,
}Fields§
§price: f64§currency: String§cut: Option<i32>§shop: ItadShop§url: Option<String>§voucher: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ItadPrice
impl<'de> Deserialize<'de> for ItadPrice
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 ItadPrice
impl RefUnwindSafe for ItadPrice
impl Send for ItadPrice
impl Sync for ItadPrice
impl Unpin for ItadPrice
impl UnwindSafe for ItadPrice
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