Struct wick_config::config::InstanceReference
source · pub struct InstanceReference { /* private fields */ }Expand description
A definition of a component used to reference a component registered under a collection. Note: InstanceReference include embed the concept of a namespace so two identical. components registered on different namespaces will not be equal.
Implementations§
source§impl InstanceReference
impl InstanceReference
pub fn name(&self) -> &str
pub fn component_id(&self) -> &str
pub fn data(&self) -> Option<&LiquidJsonConfig>
pub fn settings(&self) -> Option<&ExecutionSettings>
Trait Implementations§
source§impl Clone for InstanceReference
impl Clone for InstanceReference
source§fn clone(&self) -> InstanceReference
fn clone(&self) -> InstanceReference
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 InstanceReference
impl Debug for InstanceReference
source§impl Display for InstanceReference
impl Display for InstanceReference
source§impl PartialEq<InstanceReference> for InstanceReference
impl PartialEq<InstanceReference> for InstanceReference
source§fn eq(&self, other: &InstanceReference) -> bool
fn eq(&self, other: &InstanceReference) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InstanceReference
impl Serialize for InstanceReference
source§impl TryFrom<ComponentDefinition> for InstanceReference
impl TryFrom<ComponentDefinition> for InstanceReference
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<OperationInstance> for InstanceReference
impl TryFrom<OperationInstance> for InstanceReference
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for InstanceReference
Auto Trait Implementations§
impl RefUnwindSafe for InstanceReference
impl Send for InstanceReference
impl Sync for InstanceReference
impl Unpin for InstanceReference
impl UnwindSafe for InstanceReference
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