pub enum ChargeProvenance {
Reported,
Attributed,
NothingSent,
Unknown,
}Expand description
How the attempt’s charge was established.
Variants§
Reported
Reported by the remote side for this attempt’s own exchange.
Attributed
A share of a batched exchange’s reported charge.
NothingSent
No request byte left the process: nothing was charged.
Unknown
Not known; the reservation stays liability.
Trait Implementations§
Source§impl Clone for ChargeProvenance
impl Clone for ChargeProvenance
impl Copy for ChargeProvenance
Source§impl Debug for ChargeProvenance
impl Debug for ChargeProvenance
Source§impl<'de> Deserialize<'de> for ChargeProvenance
impl<'de> Deserialize<'de> for ChargeProvenance
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 ChargeProvenance
Source§impl JsonSchema for ChargeProvenance
impl JsonSchema for ChargeProvenance
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ChargeProvenance
impl PartialEq for ChargeProvenance
Source§impl Serialize for ChargeProvenance
impl Serialize for ChargeProvenance
impl StructuralPartialEq for ChargeProvenance
Auto Trait Implementations§
impl Freeze for ChargeProvenance
impl RefUnwindSafe for ChargeProvenance
impl Send for ChargeProvenance
impl Sync for ChargeProvenance
impl Unpin for ChargeProvenance
impl UnsafeUnpin for ChargeProvenance
impl UnwindSafe for ChargeProvenance
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