pub struct DatasetMetadata {
pub name: String,
pub datatype: Datatype,
pub dataspace: Dataspace,
pub chunk_options: ChunkOptions,
pub maxshape: Option<Vec<u64>>,
pub attrs: Vec<(String, AttrValue)>,
pub raw_data: Vec<u8>,
}Expand description
A single dataset’s metadata collected independently by one creator.
Fields§
§name: StringDataset name (path component, not full path).
datatype: DatatypeHDF5 datatype descriptor.
dataspace: DataspaceHDF5 dataspace (shape, rank, max dimensions).
chunk_options: ChunkOptionsChunk layout options (chunk dims, compression, etc.).
maxshape: Option<Vec<u64>>Optional maximum shape for resizable datasets.
attrs: Vec<(String, AttrValue)>User-defined attributes on this dataset.
raw_data: Vec<u8>Raw data bytes for this dataset.
Trait Implementations§
Source§impl Clone for DatasetMetadata
impl Clone for DatasetMetadata
Source§fn clone(&self) -> DatasetMetadata
fn clone(&self) -> DatasetMetadata
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 moreAuto Trait Implementations§
impl Freeze for DatasetMetadata
impl RefUnwindSafe for DatasetMetadata
impl Send for DatasetMetadata
impl Sync for DatasetMetadata
impl Unpin for DatasetMetadata
impl UnsafeUnpin for DatasetMetadata
impl UnwindSafe for DatasetMetadata
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