pub struct ContainerEntry {
pub name: String,
pub role: String,
pub compression: String,
pub compressed_size: u64,
pub uncompressed_size: u64,
pub attributes: BTreeMap<String, String>,
}Expand description
One stream or segment in a container summary.
role and attributes are codec-defined. The ordered attribute map keeps
the format-independent summary deterministic.
Fields§
§name: StringEntry name/path within the container.
role: StringCodec-defined role classification.
compression: StringCompression method label (e.g. "stored", "deflate", "zstd").
compressed_size: u64Compressed size in bytes.
uncompressed_size: u64Uncompressed size in bytes.
attributes: BTreeMap<String, String>Extra codec-extracted attributes, sorted by key.
Trait Implementations§
Source§impl Clone for ContainerEntry
impl Clone for ContainerEntry
Source§fn clone(&self) -> ContainerEntry
fn clone(&self) -> ContainerEntry
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 moreSource§impl Debug for ContainerEntry
impl Debug for ContainerEntry
Source§impl<'de> Deserialize<'de> for ContainerEntry
impl<'de> Deserialize<'de> for ContainerEntry
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 ContainerEntry
Source§impl JsonSchema for ContainerEntry
impl JsonSchema for ContainerEntry
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 ContainerEntry
impl PartialEq for ContainerEntry
Source§impl Serialize for ContainerEntry
impl Serialize for ContainerEntry
impl StructuralPartialEq for ContainerEntry
Auto Trait Implementations§
impl Freeze for ContainerEntry
impl RefUnwindSafe for ContainerEntry
impl Send for ContainerEntry
impl Sync for ContainerEntry
impl Unpin for ContainerEntry
impl UnsafeUnpin for ContainerEntry
impl UnwindSafe for ContainerEntry
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