pub struct AttachmentBlob {
pub asset_id: Option<String>,
pub byte_length: Option<i64>,
pub data: Option<String>,
pub display_name: Option<String>,
pub mime_type: String,
pub omitted_reason: Option<OmittedBinaryOmittedReason>,
pub type: AttachmentBlobType,
}Expand description
Blob attachment with inline base64-encoded data
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§asset_id: Option<String>Internal: content-addressed id of the session.binary_asset event holding this attachment’s model-facing bytes (e.g. “sha256:…”). Absent externally.
byte_length: Option<i64>Internal: decoded byte length of the attachment’s model-facing bytes. Absent externally.
data: Option<String>Base64-encoded content. Present on input and for external consumers; replaced by an internal assetId reference in persisted events when interned to a content-addressed asset.
display_name: Option<String>User-facing display name for the attachment
mime_type: StringMIME type of the inline data
omitted_reason: Option<OmittedBinaryOmittedReason>Internal: why model-facing bytes are absent from persistence. Absent externally.
type: AttachmentBlobTypeAttachment type discriminator
Trait Implementations§
Source§impl Clone for AttachmentBlob
impl Clone for AttachmentBlob
Source§fn clone(&self) -> AttachmentBlob
fn clone(&self) -> AttachmentBlob
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more