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 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 InstanceReference
impl Debug for InstanceReference
Source§impl Display for InstanceReference
impl Display for InstanceReference
Source§impl PartialEq for InstanceReference
impl PartialEq for InstanceReference
Source§impl Serialize for InstanceReference
impl Serialize for InstanceReference
Source§impl TryFrom<ComponentDefinition> for InstanceReference
impl TryFrom<ComponentDefinition> for InstanceReference
Source§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
Source§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for InstanceReference
Auto Trait Implementations§
impl Freeze for InstanceReference
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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