pub struct ModuleManifest {
pub name: String,
pub label: Option<String>,
pub title: Option<String>,
pub summary: Option<String>,
pub links: Vec<String>,
pub tags: Vec<String>,
pub requires: Requires,
pub provides: Provides,
pub handles: Handles,
pub config: Option<Configuration>,
}Expand description
See: https://asimov-specs.github.io/module-manifest/
Fields§
§name: StringSee: https://asimov-specs.github.io/module-manifest/#name-field
label: Option<String>See: https://asimov-specs.github.io/module-manifest/#label-field
title: Option<String>See: https://asimov-specs.github.io/module-manifest/#title-field
summary: Option<String>See: https://asimov-specs.github.io/module-manifest/#summary-field
links: Vec<String>See: https://asimov-specs.github.io/module-manifest/#links-field
See: https://asimov-specs.github.io/module-manifest/#tags-field
requires: RequiresSee: https://asimov-specs.github.io/module-manifest/#requires-section
provides: ProvidesSee: https://asimov-specs.github.io/module-manifest/#provides-section
handles: HandlesSee: https://asimov-specs.github.io/module-manifest/#handles-section
config: Option<Configuration>Implementations§
Trait Implementations§
Source§impl Clone for ModuleManifest
impl Clone for ModuleManifest
Source§fn clone(&self) -> ModuleManifest
fn clone(&self) -> ModuleManifest
Returns a duplicate 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 Debug for ModuleManifest
impl Debug for ModuleManifest
Source§impl Default for ModuleManifest
impl Default for ModuleManifest
Source§fn default() -> ModuleManifest
fn default() -> ModuleManifest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModuleManifest
impl<'de> Deserialize<'de> for ModuleManifest
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 ModuleManifest
impl PartialEq for ModuleManifest
Source§impl Serialize for ModuleManifest
impl Serialize for ModuleManifest
impl Eq for ModuleManifest
impl StructuralPartialEq for ModuleManifest
Auto Trait Implementations§
impl Freeze for ModuleManifest
impl RefUnwindSafe for ModuleManifest
impl Send for ModuleManifest
impl Sync for ModuleManifest
impl Unpin for ModuleManifest
impl UnwindSafe for ModuleManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.