pub enum UsageSource {
Measured,
Reported,
}Expand description
Provenance of a receipt’s consumption figures. Receipts from earlier releases carry connector-measured usage; host-run nodes report their own, which stays bounded by the node budget either way.
Variants§
Trait Implementations§
Source§impl Clone for UsageSource
impl Clone for UsageSource
impl Copy for UsageSource
Source§impl Debug for UsageSource
impl Debug for UsageSource
Source§impl Default for UsageSource
impl Default for UsageSource
Source§impl<'de> Deserialize<'de> for UsageSource
impl<'de> Deserialize<'de> for UsageSource
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 UsageSource
Source§impl PartialEq for UsageSource
impl PartialEq for UsageSource
Source§impl Serialize for UsageSource
impl Serialize for UsageSource
impl StructuralPartialEq for UsageSource
Auto Trait Implementations§
impl Freeze for UsageSource
impl RefUnwindSafe for UsageSource
impl Send for UsageSource
impl Sync for UsageSource
impl Unpin for UsageSource
impl UnsafeUnpin for UsageSource
impl UnwindSafe for UsageSource
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