pub enum RetentionClass {
DigestOnly,
BytesRetained,
}Expand description
What the host retained of an exchange.
Variants§
DigestOnly
The record with digests only (spec 009, 3.9.3).
BytesRetained
The record and the request and response bytes.
Trait Implementations§
Source§impl Clone for RetentionClass
impl Clone for RetentionClass
impl Copy for RetentionClass
Source§impl Debug for RetentionClass
impl Debug for RetentionClass
Source§impl<'de> Deserialize<'de> for RetentionClass
impl<'de> Deserialize<'de> for RetentionClass
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 RetentionClass
Source§impl JsonSchema for RetentionClass
impl JsonSchema for RetentionClass
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 RetentionClass
impl PartialEq for RetentionClass
Source§impl Serialize for RetentionClass
impl Serialize for RetentionClass
impl StructuralPartialEq for RetentionClass
Auto Trait Implementations§
impl Freeze for RetentionClass
impl RefUnwindSafe for RetentionClass
impl Send for RetentionClass
impl Sync for RetentionClass
impl Unpin for RetentionClass
impl UnsafeUnpin for RetentionClass
impl UnwindSafe for RetentionClass
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