pub struct CollectibleItemInfo {
pub purchase_date: i32,
pub currency: String,
pub amount: i64,
pub cryptocurrency: String,
pub cryptocurrency_amount: i64,
pub url: String,
}Expand description
Contains information about a collectible item and its last purchase
Fields§
§purchase_date: i32Point in time (Unix timestamp) when the item was purchased
currency: StringCurrency for the paid amount
amount: i64The paid amount, in the smallest units of the currency
cryptocurrency: StringCryptocurrency used to pay for the item
cryptocurrency_amount: i64The paid amount, in the smallest units of the cryptocurrency
url: StringIndividual URL for the item on https:fragment.com
Trait Implementations§
Source§impl Clone for CollectibleItemInfo
impl Clone for CollectibleItemInfo
Source§fn clone(&self) -> CollectibleItemInfo
fn clone(&self) -> CollectibleItemInfo
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 CollectibleItemInfo
impl Debug for CollectibleItemInfo
Source§impl Default for CollectibleItemInfo
impl Default for CollectibleItemInfo
Source§fn default() -> CollectibleItemInfo
fn default() -> CollectibleItemInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectibleItemInfo
impl<'de> Deserialize<'de> for CollectibleItemInfo
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
Source§impl PartialEq for CollectibleItemInfo
impl PartialEq for CollectibleItemInfo
Source§impl Serialize for CollectibleItemInfo
impl Serialize for CollectibleItemInfo
impl StructuralPartialEq for CollectibleItemInfo
Auto Trait Implementations§
impl Freeze for CollectibleItemInfo
impl RefUnwindSafe for CollectibleItemInfo
impl Send for CollectibleItemInfo
impl Sync for CollectibleItemInfo
impl Unpin for CollectibleItemInfo
impl UnwindSafe for CollectibleItemInfo
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