pub struct InvokeOptions {
pub timeout: Option<Duration>,
pub deadline: Option<DateTime<Utc>>,
pub idempotency_key: Option<String>,
pub target_resource_id: Option<String>,
}Expand description
Options for a single invoke call.
Fields§
§timeout: Option<Duration>Override the default timeout for this invocation.
deadline: Option<DateTime<Utc>>Set a deadline for the command (server-side expiry).
idempotency_key: Option<String>Idempotency key to prevent duplicate commands.
target_resource_id: Option<String>Explicit target resource id within the deployment’s stack. When None
the server resolves the target via single-target shorthand (exactly one
command-capable resource must exist). Set this when a deployment has
more than one command-capable resource.
Auto Trait Implementations§
impl Freeze for InvokeOptions
impl RefUnwindSafe for InvokeOptions
impl Send for InvokeOptions
impl Sync for InvokeOptions
impl Unpin for InvokeOptions
impl UnsafeUnpin for InvokeOptions
impl UnwindSafe for InvokeOptions
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