pub struct ExtensionMetadata {
pub name: String,
pub version: String,
pub description: String,
pub author: String,
}Expand description
Metadata describing an extension.
Fields§
§name: StringUnique extension name.
version: StringSemantic version.
description: StringHuman-readable description.
Author name or organization.
Implementations§
Trait Implementations§
Source§impl Clone for ExtensionMetadata
impl Clone for ExtensionMetadata
Source§fn clone(&self) -> ExtensionMetadata
fn clone(&self) -> ExtensionMetadata
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 ExtensionMetadata
impl Debug for ExtensionMetadata
Source§impl<'de> Deserialize<'de> for ExtensionMetadata
impl<'de> Deserialize<'de> for ExtensionMetadata
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 ExtensionMetadata
impl RefUnwindSafe for ExtensionMetadata
impl Send for ExtensionMetadata
impl Sync for ExtensionMetadata
impl Unpin for ExtensionMetadata
impl UnwindSafe for ExtensionMetadata
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