pub enum Manifest {
Embedded {
start: usize,
length: usize,
store: Vec<u8>,
},
Referenced {
start: usize,
length: usize,
href: String,
},
}Expand description
A located C2PA manifest association.
Variants§
Embedded
An inline Manifest Store carried by a script element. start and
length cover the whole element, <script through </script>
inclusive — the exact span the hard binding excludes.
Referenced
A reference to an external Manifest Store carried by a link element.
start and length cover the whole element, which the hard binding
does not exclude.
Implementations§
Trait Implementations§
impl Eq for Manifest
impl StructuralPartialEq for Manifest
Auto Trait Implementations§
impl Freeze for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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