MCPcopy Create free account
hub / github.com/cosdata/cosdata / without_metadata

Method without_metadata

src/models/types.rs:218–224  ·  view source on GitHub ↗
(id: Option<&'a InternalId>, qvec: &'a Storage)

Source from the content-addressed store, hash-verified

216
217impl<'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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected