pub struct Consumption {
pub person: String,
pub binding: RecordKey,
pub at: i64,
}Expand description
Who redeemed a token, into which binding, and when.
Fields§
§person: String§binding: RecordKey§at: i64Trait Implementations§
Source§impl Clone for Consumption
impl Clone for Consumption
Source§fn clone(&self) -> Consumption
fn clone(&self) -> Consumption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Consumption
impl Debug for Consumption
Source§impl<'de> Deserialize<'de> for Consumption
impl<'de> Deserialize<'de> for Consumption
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 Eq for Consumption
Source§impl PartialEq for Consumption
impl PartialEq for Consumption
Source§impl Serialize for Consumption
impl Serialize for Consumption
impl StructuralPartialEq for Consumption
Auto Trait Implementations§
impl Freeze for Consumption
impl RefUnwindSafe for Consumption
impl Send for Consumption
impl Sync for Consumption
impl Unpin for Consumption
impl UnsafeUnpin for Consumption
impl UnwindSafe for Consumption
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