pub struct ShimMetadata {
pub description: Option<String>,
pub version: Option<String>,
pub author: Option<String>,
pub tags: Vec<String>,
}Expand description
Optional metadata for the shim
Fields§
§description: Option<String>Description of the shim
version: Option<String>Version of the shim configuration
Author of the shim
Tags for categorization
Trait Implementations§
Source§impl Clone for ShimMetadata
impl Clone for ShimMetadata
Source§fn clone(&self) -> ShimMetadata
fn clone(&self) -> ShimMetadata
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 ShimMetadata
impl Debug for ShimMetadata
Source§impl Default for ShimMetadata
impl Default for ShimMetadata
Source§fn default() -> ShimMetadata
fn default() -> ShimMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShimMetadata
impl<'de> Deserialize<'de> for ShimMetadata
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 ShimMetadata
impl RefUnwindSafe for ShimMetadata
impl Send for ShimMetadata
impl Sync for ShimMetadata
impl Unpin for ShimMetadata
impl UnwindSafe for ShimMetadata
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