Struct wick_config::v1::InterfaceDefinition
source · pub struct InterfaceDefinition {
pub types: Vec<TypeDefinition>,
pub operations: Vec<OperationDefinition>,
}Expand description
A interface definition. Used as a signature that components can require or provide.
Fields§
§types: Vec<TypeDefinition>Types used by the interface's operations
operations: Vec<OperationDefinition>A list of operations defined by this interface.
Trait Implementations§
source§impl Clone for InterfaceDefinition
impl Clone for InterfaceDefinition
source§fn clone(&self) -> InterfaceDefinition
fn clone(&self) -> InterfaceDefinition
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 InterfaceDefinition
impl Debug for InterfaceDefinition
source§impl<'de> Deserialize<'de> for InterfaceDefinition
impl<'de> Deserialize<'de> for InterfaceDefinition
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<InterfaceDefinition> for InterfaceDefinition
impl PartialEq<InterfaceDefinition> for InterfaceDefinition
source§fn eq(&self, other: &InterfaceDefinition) -> bool
fn eq(&self, other: &InterfaceDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InterfaceDefinition
impl Serialize for InterfaceDefinition
source§impl TryFrom<InterfaceDefinition> for InterfaceDefinition
impl TryFrom<InterfaceDefinition> for InterfaceDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<InterfaceDefinition> for InterfaceDefinition
impl TryFrom<InterfaceDefinition> for InterfaceDefinition
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for InterfaceDefinition
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceDefinition
impl Send for InterfaceDefinition
impl Sync for InterfaceDefinition
impl Unpin for InterfaceDefinition
impl UnwindSafe for InterfaceDefinition
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