pub struct CatalogPut {
pub key: Vec<u8>,
pub value: [u8; 1],
}Expand description
One catalog put staged into the S-axis named_graphs_catalog CF.
Fields§
§key: Vec<u8>encode_term(graph) || descending commit_ts.
value: [u8; 1]GraphCatalogState byte.
Implementations§
Source§impl CatalogPut
impl CatalogPut
Sourcepub fn new(
graph: &EncodedTerm,
commit_ts: CommitTs,
state: GraphCatalogState,
) -> Result<Self, StorageError>
pub fn new( graph: &EncodedTerm, commit_ts: CommitTs, state: GraphCatalogState, ) -> Result<Self, StorageError>
Encode a catalog version. graph must be a named node.
Trait Implementations§
Source§impl Clone for CatalogPut
impl Clone for CatalogPut
Source§fn clone(&self) -> CatalogPut
fn clone(&self) -> CatalogPut
Returns a duplicate of the value. Read more
1.0.0 · 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 CatalogPut
impl Debug for CatalogPut
Source§impl PartialEq for CatalogPut
impl PartialEq for CatalogPut
impl Eq for CatalogPut
impl StructuralPartialEq for CatalogPut
Auto Trait Implementations§
impl Freeze for CatalogPut
impl RefUnwindSafe for CatalogPut
impl Send for CatalogPut
impl Sync for CatalogPut
impl Unpin for CatalogPut
impl UnsafeUnpin for CatalogPut
impl UnwindSafe for CatalogPut
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