Struct wick_config::v1::InterfaceBinding
source · pub struct InterfaceBinding {
pub name: String,
pub interface: InterfaceDefinition,
}Expand description
An interface bound to an ID. Used in the require/provide relationship between components.
Fields§
§name: StringThe name of the interface.
interface: InterfaceDefinitionThe interface to bind to.
Trait Implementations§
source§impl Clone for InterfaceBinding
impl Clone for InterfaceBinding
source§fn clone(&self) -> InterfaceBinding
fn clone(&self) -> InterfaceBinding
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 InterfaceBinding
impl Debug for InterfaceBinding
source§impl<'de> Deserialize<'de> for InterfaceBinding
impl<'de> Deserialize<'de> for InterfaceBinding
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<InterfaceBinding> for InterfaceBinding
impl PartialEq<InterfaceBinding> for InterfaceBinding
source§fn eq(&self, other: &InterfaceBinding) -> bool
fn eq(&self, other: &InterfaceBinding) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InterfaceBinding
impl Serialize for InterfaceBinding
source§impl TryFrom<Binding<InterfaceDefinition>> for InterfaceBinding
impl TryFrom<Binding<InterfaceDefinition>> for InterfaceBinding
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<InterfaceBinding> for Binding<InterfaceDefinition>
impl TryFrom<InterfaceBinding> for Binding<InterfaceDefinition>
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for InterfaceBinding
Auto Trait Implementations§
impl RefUnwindSafe for InterfaceBinding
impl Send for InterfaceBinding
impl Sync for InterfaceBinding
impl Unpin for InterfaceBinding
impl UnwindSafe for InterfaceBinding
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