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 duplicate 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 for TypesConfiguration
impl PartialEq for TypesConfiguration
Source§impl Serialize for TypesConfiguration
impl Serialize for TypesConfiguration
Source§impl TryFrom<TypesConfiguration> for TypesConfiguration
impl TryFrom<TypesConfiguration> for TypesConfiguration
Source§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
Source§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for TypesConfiguration
Auto Trait Implementations§
impl Freeze for TypesConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
impl<T> FromBase64 for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more