pub struct SporeDist {
pub kind: DistKind,
pub filename: Option<String>,
pub url: Option<String>,
pub git_ref: Option<String>,
pub cid: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
Distribution entry in a spore manifest.
Fields§
§kind: DistKind§filename: Option<String>§url: Option<String>§git_ref: Option<String>§cid: Option<String>§extra: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SporeDist
impl<'de> Deserialize<'de> for SporeDist
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 SporeDist
impl RefUnwindSafe for SporeDist
impl Send for SporeDist
impl Sync for SporeDist
impl Unpin for SporeDist
impl UnsafeUnpin for SporeDist
impl UnwindSafe for SporeDist
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