Struct wick_config::v1::OperationInstance
source · pub struct OperationInstance {
pub name: String,
pub operation: ComponentOperationExpression,
pub with: Option<HashMap<String, LiquidJsonValue>>,
pub timeout: Option<u64>,
}Expand description
An identifier bound to a component’s operation.
Fields§
§name: StringThe name of the binding.
operation: ComponentOperationExpressionThe operation to bind to.
with: Option<HashMap<String, LiquidJsonValue>>Data to associate with the reference, if any.
timeout: Option<u64>Timeout (in milliseconds) to wait for the operation to complete. Use 0 to wait indefinitely.
Trait Implementations§
source§impl Clone for OperationInstance
impl Clone for OperationInstance
source§fn clone(&self) -> OperationInstance
fn clone(&self) -> OperationInstance
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 OperationInstance
impl Debug for OperationInstance
source§impl<'de> Deserialize<'de> for OperationInstance
impl<'de> Deserialize<'de> for OperationInstance
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<OperationInstance> for OperationInstance
impl PartialEq<OperationInstance> for OperationInstance
source§fn eq(&self, other: &OperationInstance) -> bool
fn eq(&self, other: &OperationInstance) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for OperationInstance
impl Serialize for OperationInstance
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 OperationInstance
Auto Trait Implementations§
impl RefUnwindSafe for OperationInstance
impl Send for OperationInstance
impl Sync for OperationInstance
impl Unpin for OperationInstance
impl UnwindSafe for OperationInstance
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