(id: Option<&'a InternalId>, qvec: &'a Storage)
| 216 | |
| 217 | impl<'a> VectorData<'a> { |
| 218 | pub fn without_metadata(id: Option<&'a InternalId>, qvec: &'a Storage) -> Self { |
| 219 | Self { |
| 220 | id, |
| 221 | quantized_vec: qvec, |
| 222 | metadata: None, |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | pub fn replica_node_kind(&self) -> ReplicaNodeKind { |
| 227 | match self.metadata { |
nothing calls this directly
no outgoing calls
no test coverage detected