pub struct ChunkManifestChunkMapping {
pub external_chunk_id: String,
pub sm_document_id: String,
pub sm_chunk_id: String,
pub chunk_index: usize,
pub content_digest: Option<String>,
pub metadata: Option<Value>,
}Expand description
Exact mapping returned for a single manifest chunk after a successful transaction.
Fields§
§external_chunk_id: StringCaller-owned chunk identifier supplied in the manifest.
sm_document_id: Stringsemantic-memory document id that owns the chunk.
sm_chunk_id: Stringsemantic-memory chunk id generated and stored in chunks.id.
chunk_index: usizePosition in the supplied manifest.
content_digest: Option<String>Stored chunk content digest, when supplied by caller.
metadata: Option<Value>Optional caller metadata echoed for adapter receipt/audit use.
Trait Implementations§
Source§impl Clone for ChunkManifestChunkMapping
impl Clone for ChunkManifestChunkMapping
Source§fn clone(&self) -> ChunkManifestChunkMapping
fn clone(&self) -> ChunkManifestChunkMapping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChunkManifestChunkMapping
impl Debug for ChunkManifestChunkMapping
Source§impl<'de> Deserialize<'de> for ChunkManifestChunkMapping
impl<'de> Deserialize<'de> for ChunkManifestChunkMapping
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 ChunkManifestChunkMapping
impl RefUnwindSafe for ChunkManifestChunkMapping
impl Send for ChunkManifestChunkMapping
impl Sync for ChunkManifestChunkMapping
impl Unpin for ChunkManifestChunkMapping
impl UnsafeUnpin for ChunkManifestChunkMapping
impl UnwindSafe for ChunkManifestChunkMapping
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