pub struct FfiManifestEnvelope {Show 19 fields
pub crypto_suite_id: u16,
pub protocol_version: String,
pub album_id: Option<String>,
pub file_id: String,
pub amk_version: u32,
pub ciphertext_hash: String,
pub plaintext_size: u64,
pub chunk_size: u32,
pub key_mode: String,
pub metadata_blob_hash: Option<String>,
pub derivative_role: Option<String>,
pub derivative_format: Option<String>,
pub created_by_user: String,
pub created_by_device: String,
pub client_version: String,
pub timestamp: String,
pub action: String,
pub prior_provenance_hash: Option<String>,
pub retention_until: Option<String>,
}Expand description
FFI mirror of ManifestEnvelope — the server-visible envelope fields the
import pipeline builds and signs; opaque to this layer, carried verbatim.
Fields§
§crypto_suite_id: u16Crypto suite the blob is sealed under.
protocol_version: StringProtocol date (YYYY-MM-DD).
album_id: Option<String>Optional album this blob belongs to.
file_id: StringThe asset id this blob belongs to (UUIDv7).
amk_version: u32AMK epoch the blob is sealed under.
ciphertext_hash: StringCiphertext content hash, lowercase hex.
plaintext_size: u64Plaintext size in bytes.
chunk_size: u32STREAM plaintext chunk size.
key_mode: Stringderived | wrapped.
metadata_blob_hash: Option<String>Hash of the bundle’s metadata blob, when known.
derivative_role: Option<String>A derivative blob’s role (thumbnail | preview | embedding); None for every other
blob.
derivative_format: Option<String>A derivative blob’s format, e.g. image/jxl; set exactly when derivative_role is.
created_by_user: StringThe authoring user.
created_by_device: StringThe authoring device.
client_version: StringThe exact client build.
timestamp: StringRFC 3339 authoring timestamp.
action: StringLifecycle action (create for a fresh bundle).
prior_provenance_hash: Option<String>Prior provenance hash, for append-only chains.
retention_until: Option<String>Optional retention floor.
Trait Implementations§
Source§impl<UT> ConvertError<UT> for FfiManifestEnvelope
impl<UT> ConvertError<UT> for FfiManifestEnvelope
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
Source§impl<UT> FfiConverter<UT> for FfiManifestEnvelope
impl<UT> FfiConverter<UT> for FfiManifestEnvelope
Source§const TYPE_ID_META: MetadataBuffer
const TYPE_ID_META: MetadataBuffer
Source§type FfiType = RustBuffer
type FfiType = RustBuffer
Source§fn lower(v: Self) -> RustBuffer
fn lower(v: Self) -> RustBuffer
Source§fn try_lift(buf: RustBuffer) -> Result<Self>
fn try_lift(buf: RustBuffer) -> Result<Self>
Source§impl From<FfiManifestEnvelope> for ManifestEnvelope
impl From<FfiManifestEnvelope> for ManifestEnvelope
Source§fn from(env: FfiManifestEnvelope) -> Self
fn from(env: FfiManifestEnvelope) -> Self
Source§impl From<ManifestEnvelope> for FfiManifestEnvelope
impl From<ManifestEnvelope> for FfiManifestEnvelope
Source§fn from(env: ManifestEnvelope) -> Self
fn from(env: ManifestEnvelope) -> Self
Source§impl<UT> Lift<UT> for FfiManifestEnvelope
impl<UT> Lift<UT> for FfiManifestEnvelope
Source§impl<UT> LiftRef<UT> for FfiManifestEnvelope
impl<UT> LiftRef<UT> for FfiManifestEnvelope
Source§impl<UT> LiftReturn<UT> for FfiManifestEnvelope
impl<UT> LiftReturn<UT> for FfiManifestEnvelope
Source§type ReturnType = <FfiManifestEnvelope as Lift<UT>>::FfiType
type ReturnType = <FfiManifestEnvelope as Lift<UT>>::FfiType
Source§fn try_lift_successful_return(v: Self::ReturnType) -> Result<Self>
fn try_lift_successful_return(v: Self::ReturnType) -> Result<Self>
§fn lift_foreign_return(
ffi_return: Self::ReturnType,
call_status: RustCallStatus,
) -> Self
fn lift_foreign_return( ffi_return: Self::ReturnType, call_status: RustCallStatus, ) -> Self
§fn lift_error(_buf: RustBuffer) -> Self
fn lift_error(_buf: RustBuffer) -> Self
§fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
Source§impl<UT> Lower<UT> for FfiManifestEnvelope
impl<UT> Lower<UT> for FfiManifestEnvelope
Source§impl<UT> LowerError<UT> for FfiManifestEnvelope
impl<UT> LowerError<UT> for FfiManifestEnvelope
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Source§impl<UT> LowerReturn<UT> for FfiManifestEnvelope
impl<UT> LowerReturn<UT> for FfiManifestEnvelope
Source§type ReturnType = <FfiManifestEnvelope as Lower<UT>>::FfiType
type ReturnType = <FfiManifestEnvelope as Lower<UT>>::FfiType
Source§fn lower_return(v: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(v: Self) -> Result<Self::ReturnType, RustCallError>
§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Source§impl<UT> TypeId<UT> for FfiManifestEnvelope
impl<UT> TypeId<UT> for FfiManifestEnvelope
const TYPE_ID_META: MetadataBuffer
Auto Trait Implementations§
impl Freeze for FfiManifestEnvelope
impl RefUnwindSafe for FfiManifestEnvelope
impl Send for FfiManifestEnvelope
impl Sync for FfiManifestEnvelope
impl Unpin for FfiManifestEnvelope
impl UnsafeUnpin for FfiManifestEnvelope
impl UnwindSafe for FfiManifestEnvelope
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
unsafe fn consume_handle(handle: Handle) -> Arc<T> ⓘ
Arc<> Read more§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more