pub struct GraphProfileShape {
pub document_dims: u32,
pub document_normalization: Normalization,
pub query_dims: u32,
pub query_normalization: Normalization,
pub metric: GraphDistanceMetric,
}Expand description
Persisted epoch shape consulted by the graph-profile policy.
Fields§
§document_dims: u32Persisted document-tower dimensions.
document_normalization: NormalizationPersisted document-tower normalization.
query_dims: u32Persisted query-tower dimensions.
query_normalization: NormalizationPersisted query-tower normalization.
metric: GraphDistanceMetricExact metric implemented by the graph build and query paths.
Trait Implementations§
Source§impl Clone for GraphProfileShape
impl Clone for GraphProfileShape
Source§fn clone(&self) -> GraphProfileShape
fn clone(&self) -> GraphProfileShape
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 moreimpl Copy for GraphProfileShape
Source§impl Debug for GraphProfileShape
impl Debug for GraphProfileShape
impl Eq for GraphProfileShape
Source§impl PartialEq for GraphProfileShape
impl PartialEq for GraphProfileShape
impl StructuralPartialEq for GraphProfileShape
Auto Trait Implementations§
impl Freeze for GraphProfileShape
impl RefUnwindSafe for GraphProfileShape
impl Send for GraphProfileShape
impl Sync for GraphProfileShape
impl Unpin for GraphProfileShape
impl UnsafeUnpin for GraphProfileShape
impl UnwindSafe for GraphProfileShape
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