pub struct StoreMeta {
pub total_rows: usize,
pub shape_tail: Vec<usize>,
pub dtype: String,
}Expand description
Metadata about a stored value, queryable without loading data.
Fields§
§total_rows: usizeTotal number of rows (shape[0] for tensors, 1 for scalar types).
shape_tail: Vec<usize>Remaining shape dimensions after the row axis (shape[1..] for tensors).
dtype: StringType tag: “tensor”, “json”, “bytes”, or “empty”.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StoreMeta
impl<'de> Deserialize<'de> for StoreMeta
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
Auto Trait Implementations§
impl Freeze for StoreMeta
impl RefUnwindSafe for StoreMeta
impl Send for StoreMeta
impl Sync for StoreMeta
impl Unpin for StoreMeta
impl UnsafeUnpin for StoreMeta
impl UnwindSafe for StoreMeta
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