pub struct EpochIdentity {
pub embedding: EpochId,
pub tokenizer: TokenizerEpoch,
}Expand description
Compact persisted and reported store interpretation.
Fields§
§embedding: EpochIdEmbedding identity digest.
tokenizer: TokenizerEpochTokenizer identity digest.
Implementations§
Source§impl EpochIdentity
impl EpochIdentity
Sourcepub fn from_meta(meta: &EpochMeta) -> Result<Self, EpochMetaError>
pub fn from_meta(meta: &EpochMeta) -> Result<Self, EpochMetaError>
Reconstructs an identity from one validated manifest registry entry.
Trait Implementations§
Source§impl Clone for EpochIdentity
impl Clone for EpochIdentity
impl Copy for EpochIdentity
Source§impl Debug for EpochIdentity
impl Debug for EpochIdentity
impl Eq for EpochIdentity
Source§impl Hash for EpochIdentity
impl Hash for EpochIdentity
Source§impl Ord for EpochIdentity
impl Ord for EpochIdentity
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EpochIdentity
impl PartialEq for EpochIdentity
Source§impl PartialOrd for EpochIdentity
impl PartialOrd for EpochIdentity
impl StructuralPartialEq for EpochIdentity
Auto Trait Implementations§
impl Freeze for EpochIdentity
impl RefUnwindSafe for EpochIdentity
impl Send for EpochIdentity
impl Sync for EpochIdentity
impl Unpin for EpochIdentity
impl UnsafeUnpin for EpochIdentity
impl UnwindSafe for EpochIdentity
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