#[non_exhaustive]pub struct SliceValue {
pub version: Version,
pub value: Scalar,
pub cell: Cell,
}Expand description
A member of a slice with its value and without its receipt’s bytes
(Store::slice_values). Since 0.3.2.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: VersionThe version answering (its cell, tx, receipt hash and asof).
value: ScalarThe receipt’s typed value.
cell: CellThe member’s cell, with its arguments (from the store’s typed-argument index; equal
to the receipt’s cell, and cell.id() is version.cell_id).
Trait Implementations§
Source§impl Clone for SliceValue
impl Clone for SliceValue
Source§impl Debug for SliceValue
impl Debug for SliceValue
impl Eq for SliceValue
Source§impl Hash for SliceValue
impl Hash for SliceValue
Source§impl PartialEq for SliceValue
impl PartialEq for SliceValue
impl StructuralPartialEq for SliceValue
Auto Trait Implementations§
impl Freeze for SliceValue
impl RefUnwindSafe for SliceValue
impl Send for SliceValue
impl Sync for SliceValue
impl Unpin for SliceValue
impl UnsafeUnpin for SliceValue
impl UnwindSafe for SliceValue
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