Struct wick_config::v1::TypesComponent
source · pub struct TypesComponent {
pub reference: LocationReference,
pub types: Vec<String>,
}Expand description
A types configuration to import into this component’s scope.
Fields§
§reference: LocationReferenceThe URL (and optional tag) or local file path to find the types manifest.
types: Vec<String>The types to import from the manifest.
Trait Implementations§
source§impl Clone for TypesComponent
impl Clone for TypesComponent
source§fn clone(&self) -> TypesComponent
fn clone(&self) -> TypesComponent
Returns a copy 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 TypesComponent
impl Debug for TypesComponent
source§impl<'de> Deserialize<'de> for TypesComponent
impl<'de> Deserialize<'de> for TypesComponent
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<TypesComponent> for TypesComponent
impl PartialEq<TypesComponent> for TypesComponent
source§fn eq(&self, other: &TypesComponent) -> bool
fn eq(&self, other: &TypesComponent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TypesComponent
impl Serialize for TypesComponent
source§impl TryFrom<TypesComponent> for TypesComponent
impl TryFrom<TypesComponent> for TypesComponent
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<TypesComponent> for TypesComponent
impl TryFrom<TypesComponent> for TypesComponent
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for TypesComponent
Auto Trait Implementations§
impl RefUnwindSafe for TypesComponent
impl Send for TypesComponent
impl Sync for TypesComponent
impl Unpin for TypesComponent
impl UnwindSafe for TypesComponent
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