struct AnchorSpaceSnapshot {
config: AnchorSetConfig,
k: usize,
projected_vectors: Vec<Vec<f32>>,
source_model: Vec<u32>,
entity_ids: Vec<u64>,
timestamps: Vec<i64>,
entity_index: BTreeMap<u64, Vec<(i64, u32)>>,
}Fields§
§config: AnchorSetConfig§k: usize§projected_vectors: Vec<Vec<f32>>§source_model: Vec<u32>§entity_ids: Vec<u64>§timestamps: Vec<i64>§entity_index: BTreeMap<u64, Vec<(i64, u32)>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AnchorSpaceSnapshot
impl<'de> Deserialize<'de> for AnchorSpaceSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnchorSpaceSnapshot
impl RefUnwindSafe for AnchorSpaceSnapshot
impl Send for AnchorSpaceSnapshot
impl Sync for AnchorSpaceSnapshot
impl Unpin for AnchorSpaceSnapshot
impl UnwindSafe for AnchorSpaceSnapshot
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