pub enum MeteringSource {
Reported,
Estimated,
}Expand description
Origin of token or resource measurements.
Variants§
Reported
The executing provider supplied the measurement.
Estimated
Factory estimated usage or applied a declared resource weight.
Implementations§
Trait Implementations§
Source§impl Clone for MeteringSource
impl Clone for MeteringSource
Source§fn clone(&self) -> MeteringSource
fn clone(&self) -> MeteringSource
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 moreimpl Copy for MeteringSource
Source§impl Debug for MeteringSource
impl Debug for MeteringSource
Source§impl<'de> Deserialize<'de> for MeteringSource
impl<'de> Deserialize<'de> for MeteringSource
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 MeteringSource
Source§impl PartialEq for MeteringSource
impl PartialEq for MeteringSource
Source§impl Serialize for MeteringSource
impl Serialize for MeteringSource
impl StructuralPartialEq for MeteringSource
Auto Trait Implementations§
impl Freeze for MeteringSource
impl RefUnwindSafe for MeteringSource
impl Send for MeteringSource
impl Sync for MeteringSource
impl Unpin for MeteringSource
impl UnsafeUnpin for MeteringSource
impl UnwindSafe for MeteringSource
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