pub struct ManifestSource {
pub active_manifest_uri: Option<String>,
pub manifest_store: Option<Vec<u8>>,
}Expand description
What to associate with a model: an embedded Manifest Store, a remote manifest URI, or both.
Each supported format stores these in the same reserved keys
(c2pa.manifest / c2pa.manifest.uri) within its native metadata slot.
Fields§
§active_manifest_uri: Option<String>URI of the active manifest. The caller fetches the bytes; this crate performs no network I/O.
manifest_store: Option<Vec<u8>>Embedded C2PA Manifest Store bytes (JUMBF).
Implementations§
Trait Implementations§
Source§impl Clone for ManifestSource
impl Clone for ManifestSource
Source§fn clone(&self) -> ManifestSource
fn clone(&self) -> ManifestSource
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 ManifestSource
impl Debug for ManifestSource
Source§impl Default for ManifestSource
impl Default for ManifestSource
Source§fn default() -> ManifestSource
fn default() -> ManifestSource
Returns the “default value” for a type. Read more
impl Eq for ManifestSource
Source§impl PartialEq for ManifestSource
impl PartialEq for ManifestSource
impl StructuralPartialEq for ManifestSource
Auto Trait Implementations§
impl Freeze for ManifestSource
impl RefUnwindSafe for ManifestSource
impl Send for ManifestSource
impl Sync for ManifestSource
impl Unpin for ManifestSource
impl UnsafeUnpin for ManifestSource
impl UnwindSafe for ManifestSource
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