Struct webc::metadata::ManifestWithoutAtomSignatures
source · pub struct ManifestWithoutAtomSignatures {
pub origin: Option<String>,
pub use_map: IndexMap<String, UrlOrManifest>,
pub package: IndexMap<String, Annotation>,
pub atoms: IndexMap<String, AtomWithoutSignature>,
pub commands: IndexMap<String, Command>,
pub bindings: Vec<Binding>,
pub entrypoint: Option<String>,
}
Expand description
Same as Manifest
, but doesn’t require the atom.signature
Fields§
§origin: Option<String>
§use_map: IndexMap<String, UrlOrManifest>
§package: IndexMap<String, Annotation>
§atoms: IndexMap<String, AtomWithoutSignature>
Atoms do not require a “.signature” field to be valid (SHA1 signature is calculated during packaging)
commands: IndexMap<String, Command>
§bindings: Vec<Binding>
Binding descriptions of this manifest
entrypoint: Option<String>
Implementations§
Trait Implementations§
source§impl Clone for ManifestWithoutAtomSignatures
impl Clone for ManifestWithoutAtomSignatures
source§fn clone(&self) -> ManifestWithoutAtomSignatures
fn clone(&self) -> ManifestWithoutAtomSignatures
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ManifestWithoutAtomSignatures
impl Default for ManifestWithoutAtomSignatures
source§fn default() -> ManifestWithoutAtomSignatures
fn default() -> ManifestWithoutAtomSignatures
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ManifestWithoutAtomSignatures
impl<'de> Deserialize<'de> for ManifestWithoutAtomSignatures
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ManifestWithoutAtomSignatures
impl PartialEq for ManifestWithoutAtomSignatures
source§fn eq(&self, other: &ManifestWithoutAtomSignatures) -> bool
fn eq(&self, other: &ManifestWithoutAtomSignatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ManifestWithoutAtomSignatures
Auto Trait Implementations§
impl Freeze for ManifestWithoutAtomSignatures
impl RefUnwindSafe for ManifestWithoutAtomSignatures
impl Send for ManifestWithoutAtomSignatures
impl Sync for ManifestWithoutAtomSignatures
impl Unpin for ManifestWithoutAtomSignatures
impl UnwindSafe for ManifestWithoutAtomSignatures
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