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 (for example, "stored" or "deflate").
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 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