Struct wick_config::v1::TypesConfiguration
source · pub struct TypesConfiguration {
pub name: Option<String>,
pub metadata: Option<Metadata>,
pub types: Vec<TypeDefinition>,
pub operations: Vec<OperationDefinition>,
pub package: Option<PackageDefinition>,
}Expand description
A type definition for a Wick Components and Operations
Fields§
§name: Option<String>The name of this type.
metadata: Option<Metadata>Associated metadata for this type.
types: Vec<TypeDefinition>Additional types to export and make available to the type.
operations: Vec<OperationDefinition>A list of operation signatures.
package: Option<PackageDefinition>Details about the package for this types.
Trait Implementations§
source§impl Clone for TypesConfiguration
impl Clone for TypesConfiguration
source§fn clone(&self) -> TypesConfiguration
fn clone(&self) -> TypesConfiguration
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 TypesConfiguration
impl Debug for TypesConfiguration
source§impl<'de> Deserialize<'de> for TypesConfiguration
impl<'de> Deserialize<'de> for TypesConfiguration
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<TypesConfiguration> for TypesConfiguration
impl PartialEq<TypesConfiguration> for TypesConfiguration
source§fn eq(&self, other: &TypesConfiguration) -> bool
fn eq(&self, other: &TypesConfiguration) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TypesConfiguration
impl Serialize for TypesConfiguration
source§impl TryFrom<TypesConfiguration> for TypesConfiguration
impl TryFrom<TypesConfiguration> for TypesConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<TypesConfiguration> for TypesConfiguration
impl TryFrom<TypesConfiguration> for TypesConfiguration
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for TypesConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for TypesConfiguration
impl Send for TypesConfiguration
impl Sync for TypesConfiguration
impl Unpin for TypesConfiguration
impl UnwindSafe for TypesConfiguration
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