pub struct ManifestLink {
pub uri: String,
pub jumbf: Option<String>,
}Expand description
A located c2pa-manifest link.
Fields§
§uri: StringThe target URI.
When the target carried a JUMBF fragment, any childlabel portion has
been removed: the specification permits referencing only the Manifest
Store superbox, and requires a validator to ignore a deeper reference.
jumbf: Option<String>The JUMBF superbox label when the target names an embedded Manifest
Store rather than a separate resource — normally c2pa.
Implementations§
Source§impl ManifestLink
impl ManifestLink
Sourcepub fn is_embedded(&self) -> bool
pub fn is_embedded(&self) -> bool
Whether the target names a Manifest Store embedded in the asset itself, as opposed to a resource to be fetched.
Trait Implementations§
Source§impl Clone for ManifestLink
impl Clone for ManifestLink
Source§fn clone(&self) -> ManifestLink
fn clone(&self) -> ManifestLink
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 ManifestLink
impl Debug for ManifestLink
impl Eq for ManifestLink
Source§impl PartialEq for ManifestLink
impl PartialEq for ManifestLink
impl StructuralPartialEq for ManifestLink
Auto Trait Implementations§
impl Freeze for ManifestLink
impl RefUnwindSafe for ManifestLink
impl Send for ManifestLink
impl Sync for ManifestLink
impl Unpin for ManifestLink
impl UnsafeUnpin for ManifestLink
impl UnwindSafe for ManifestLink
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