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