pub struct SecondaryIndexDescriptor {
pub format_version: u32,
pub source_map_id: Vec<u8>,
pub name: Vec<u8>,
pub generation: u64,
pub extractor_id: String,
pub fingerprint: Cid,
pub projection: IndexProjection,
pub physical_layout_version: u32,
}Expand description
Canonical persisted semantic definition for one index generation.
Fields§
§format_version: u32§source_map_id: Vec<u8>§name: Vec<u8>§generation: u64§extractor_id: String§fingerprint: Cid§projection: IndexProjection§physical_layout_version: u32Implementations§
Trait Implementations§
Source§impl Clone for SecondaryIndexDescriptor
impl Clone for SecondaryIndexDescriptor
Source§fn clone(&self) -> SecondaryIndexDescriptor
fn clone(&self) -> SecondaryIndexDescriptor
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 SecondaryIndexDescriptor
impl Debug for SecondaryIndexDescriptor
impl Eq for SecondaryIndexDescriptor
Source§impl PartialEq for SecondaryIndexDescriptor
impl PartialEq for SecondaryIndexDescriptor
impl StructuralPartialEq for SecondaryIndexDescriptor
Auto Trait Implementations§
impl Freeze for SecondaryIndexDescriptor
impl RefUnwindSafe for SecondaryIndexDescriptor
impl Send for SecondaryIndexDescriptor
impl Sync for SecondaryIndexDescriptor
impl Unpin for SecondaryIndexDescriptor
impl UnsafeUnpin for SecondaryIndexDescriptor
impl UnwindSafe for SecondaryIndexDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more