Spaces:
Build error
Build error
File size: 384 Bytes
84d2a97 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
use super::types::RecordInternal;
impl From<RecordInternal> for api::rest::Record {
fn from(value: RecordInternal) -> Self {
Self {
id: value.id,
payload: value.payload,
vector: value.vector.map(api::rest::VectorStructOutput::from),
shard_key: value.shard_key,
order_value: value.order_value,
}
}
}
|