pub struct SpecificationMetadata {
pub id: String,
pub version: String,
pub publisher: String,
pub title: Option<String>,
pub description: Option<String>,
}Expand description
Required metadata for all specifications
Fields§
§id: StringUnique identifier (lowercase, alphanumeric with hyphens)
version: StringSemantic version (MAJOR.MINOR.PATCH)
publisher: StringPublisher domain or subdomain
title: Option<String>Optional human-readable title
description: Option<String>Optional description
Trait Implementations§
Source§impl Clone for SpecificationMetadata
impl Clone for SpecificationMetadata
Source§fn clone(&self) -> SpecificationMetadata
fn clone(&self) -> SpecificationMetadata
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 SpecificationMetadata
impl Debug for SpecificationMetadata
Source§impl<'de> Deserialize<'de> for SpecificationMetadata
impl<'de> Deserialize<'de> for SpecificationMetadata
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 SpecificationMetadata
impl RefUnwindSafe for SpecificationMetadata
impl Send for SpecificationMetadata
impl Sync for SpecificationMetadata
impl Unpin for SpecificationMetadata
impl UnwindSafe for SpecificationMetadata
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