pub struct VoltMetadata {Show 13 fields
pub name: String,
pub version: String,
pub display_name: String,
pub author: String,
pub description: String,
pub icon: Option<String>,
pub repository: Option<String>,
pub wasm: Option<String>,
pub color_themes: Option<Vec<String>>,
pub icon_themes: Option<Vec<String>>,
pub dir: Option<PathBuf>,
pub activation: Option<VoltActivation>,
pub config: Option<HashMap<String, VoltConfig>>,
}
Fields§
§name: String
§version: String
§display_name: String
§description: String
§icon: Option<String>
§repository: Option<String>
§wasm: Option<String>
§color_themes: Option<Vec<String>>
§icon_themes: Option<Vec<String>>
§dir: Option<PathBuf>
§activation: Option<VoltActivation>
§config: Option<HashMap<String, VoltConfig>>
Implementations§
Trait Implementations§
Source§impl Clone for VoltMetadata
impl Clone for VoltMetadata
Source§fn clone(&self) -> VoltMetadata
fn clone(&self) -> VoltMetadata
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 VoltMetadata
impl Debug for VoltMetadata
Source§impl<'de> Deserialize<'de> for VoltMetadata
impl<'de> Deserialize<'de> for VoltMetadata
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 VoltMetadata
impl RefUnwindSafe for VoltMetadata
impl Send for VoltMetadata
impl Sync for VoltMetadata
impl Unpin for VoltMetadata
impl UnwindSafe for VoltMetadata
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