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§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§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