pub struct ValidationConfig {
pub expected_dim: usize,
pub min_timestamp: i64,
pub max_timestamp: i64,
pub reject_zero_vectors: bool,
}Expand description
Validation configuration.
Fields§
§expected_dim: usizeExpected vector dimensionality. 0 = accept any.
min_timestamp: i64Minimum allowed timestamp (microseconds).
max_timestamp: i64Maximum allowed timestamp (microseconds).
reject_zero_vectors: boolWhether to reject zero-norm vectors.
Trait Implementations§
Source§impl Clone for ValidationConfig
impl Clone for ValidationConfig
Source§fn clone(&self) -> ValidationConfig
fn clone(&self) -> ValidationConfig
Returns a copy 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 ValidationConfig
impl Debug for ValidationConfig
Auto Trait Implementations§
impl Freeze for ValidationConfig
impl RefUnwindSafe for ValidationConfig
impl Send for ValidationConfig
impl Sync for ValidationConfig
impl Unpin for ValidationConfig
impl UnwindSafe for ValidationConfig
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