pub struct PackMetadata {
pub name: String,
pub version: Version,
pub description: Option<String>,
pub app_version: Option<String>,
pub kube_version: Option<String>,
pub home: Option<String>,
pub icon: Option<String>,
pub sources: Vec<String>,
pub keywords: Vec<String>,
pub maintainers: Vec<Maintainer>,
pub annotations: HashMap<String, String>,
}Expand description
Pack metadata
Fields§
§name: StringPack name (required)
version: VersionPack version (required, SemVer)
description: Option<String>Description
app_version: Option<String>Application version
kube_version: Option<String>Kubernetes version constraint
home: Option<String>Home URL
icon: Option<String>Icon URL
sources: Vec<String>Source URLs
keywords: Vec<String>Keywords
maintainers: Vec<Maintainer>Maintainers
annotations: HashMap<String, String>Annotations
Trait Implementations§
Source§impl Clone for PackMetadata
impl Clone for PackMetadata
Source§fn clone(&self) -> PackMetadata
fn clone(&self) -> PackMetadata
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 PackMetadata
impl Debug for PackMetadata
Source§impl<'de> Deserialize<'de> for PackMetadata
impl<'de> Deserialize<'de> for PackMetadata
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 From<&PackMetadata> for PackInfo
impl From<&PackMetadata> for PackInfo
Source§fn from(meta: &PackMetadata) -> Self
fn from(meta: &PackMetadata) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackMetadata
impl RefUnwindSafe for PackMetadata
impl Send for PackMetadata
impl Sync for PackMetadata
impl Unpin for PackMetadata
impl UnwindSafe for PackMetadata
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