pub struct PackImport {
pub use_pack: Option<String>,
pub pack: Option<String>,
pub digest: Option<String>,
pub types: Option<Vec<String>>,
pub overrides: BTreeMap<String, TypeOverride>,
}Expand description
Imports a registered pack (use) or an external pack (pack + digest).
Fields§
§use_pack: Option<String>§pack: Option<String>§digest: Option<String>§types: Option<Vec<String>>§overrides: BTreeMap<String, TypeOverride>Trait Implementations§
Source§impl Clone for PackImport
impl Clone for PackImport
Source§fn clone(&self) -> PackImport
fn clone(&self) -> PackImport
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 PackImport
impl Debug for PackImport
Source§impl Default for PackImport
impl Default for PackImport
Source§fn default() -> PackImport
fn default() -> PackImport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PackImport
impl<'de> Deserialize<'de> for PackImport
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 PackImport
impl PartialEq for PackImport
Source§fn eq(&self, other: &PackImport) -> bool
fn eq(&self, other: &PackImport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackImport
impl Serialize for PackImport
impl StructuralPartialEq for PackImport
Auto Trait Implementations§
impl Freeze for PackImport
impl RefUnwindSafe for PackImport
impl Send for PackImport
impl Sync for PackImport
impl Unpin for PackImport
impl UnsafeUnpin for PackImport
impl UnwindSafe for PackImport
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