pub struct Metadata {Show 14 fields
pub name: String,
pub description: String,
pub authors: Vec<String>,
pub date: String,
pub rank: String,
pub targets: Vec<Target>,
pub payload: Payload,
pub Type: String,
pub privileged: bool,
pub options: HashMap<String, ModuleOption>,
pub license: String,
pub wfsdelay: usize,
pub references: Vec<Reference>,
pub capabilities: Vec<String>,
}
Fields§
§name: String
§description: String
§date: String
§rank: String
§targets: Vec<Target>
§payload: Payload
§Type: String
§privileged: bool
§options: HashMap<String, ModuleOption>
§license: String
§wfsdelay: usize
§references: Vec<Reference>
§capabilities: Vec<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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