pub struct PackDocument {
pub protocol: String,
pub description: Option<String>,
pub packs: Vec<Pack>,
}Expand description
The shape of 1.0.packs.json and externally published pack documents.
Fields§
§protocol: String§description: Option<String>§packs: Vec<Pack>Trait Implementations§
Source§impl Clone for PackDocument
impl Clone for PackDocument
Source§fn clone(&self) -> PackDocument
fn clone(&self) -> PackDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PackDocument
impl Debug for PackDocument
Source§impl<'de> Deserialize<'de> for PackDocument
impl<'de> Deserialize<'de> for PackDocument
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 PartialEq for PackDocument
impl PartialEq for PackDocument
Source§fn eq(&self, other: &PackDocument) -> bool
fn eq(&self, other: &PackDocument) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackDocument
impl Serialize for PackDocument
impl StructuralPartialEq for PackDocument
Auto Trait Implementations§
impl Freeze for PackDocument
impl RefUnwindSafe for PackDocument
impl Send for PackDocument
impl Sync for PackDocument
impl Unpin for PackDocument
impl UnsafeUnpin for PackDocument
impl UnwindSafe for PackDocument
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