pub struct WorkAttribution {
pub accepted_tokens: u64,
pub accepted_cost_micros: u64,
pub waste_tokens: u64,
pub waste_cost_micros: u64,
}Fields§
§accepted_tokens: u64§accepted_cost_micros: u64§waste_tokens: u64§waste_cost_micros: u64Trait Implementations§
Source§impl Clone for WorkAttribution
impl Clone for WorkAttribution
Source§impl Debug for WorkAttribution
impl Debug for WorkAttribution
Source§impl<'de> Deserialize<'de> for WorkAttribution
impl<'de> Deserialize<'de> for WorkAttribution
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 WorkAttribution
Source§impl PartialEq for WorkAttribution
impl PartialEq for WorkAttribution
Source§impl Serialize for WorkAttribution
impl Serialize for WorkAttribution
impl StructuralPartialEq for WorkAttribution
Auto Trait Implementations§
impl Freeze for WorkAttribution
impl RefUnwindSafe for WorkAttribution
impl Send for WorkAttribution
impl Sync for WorkAttribution
impl Unpin for WorkAttribution
impl UnsafeUnpin for WorkAttribution
impl UnwindSafe for WorkAttribution
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