Struct wick_config::v1::ComponentOperationExpression
source · pub struct ComponentOperationExpression {
pub component: ComponentDefinition,
pub name: String,
pub with: Option<HashMap<String, LiquidJsonValue>>,
pub timeout: Option<u64>,
}Expand description
A reference to an operation. This type can be shortened to component_id::operation_name with the short-form syntax.
Fields§
§component: ComponentDefinitionThe component that exports the operation.
name: StringThe operation name.
with: Option<HashMap<String, LiquidJsonValue>>Configuration to pass to this operation on invocation.
timeout: Option<u64>Timeout (in milliseconds) to wait for the operation to complete. Use 0 to wait indefinitely.
Trait Implementations§
source§impl Clone for ComponentOperationExpression
impl Clone for ComponentOperationExpression
source§fn clone(&self) -> ComponentOperationExpression
fn clone(&self) -> ComponentOperationExpression
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 ComponentOperationExpression
impl Debug for ComponentOperationExpression
source§impl<'de> Deserialize<'de> for ComponentOperationExpression
impl<'de> Deserialize<'de> for ComponentOperationExpression
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<ComponentOperationExpression> for ComponentOperationExpression
impl PartialEq<ComponentOperationExpression> for ComponentOperationExpression
source§fn eq(&self, other: &ComponentOperationExpression) -> bool
fn eq(&self, other: &ComponentOperationExpression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
impl TryFrom<ComponentOperationExpression> for ComponentOperationExpression
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ComponentOperationExpression
Auto Trait Implementations§
impl RefUnwindSafe for ComponentOperationExpression
impl Send for ComponentOperationExpression
impl Sync for ComponentOperationExpression
impl Unpin for ComponentOperationExpression
impl UnwindSafe for ComponentOperationExpression
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