pub struct CanvasProviderInvokeActionRequest {
pub session_id: SessionId,
pub extension_id: String,
pub canvas_id: String,
pub instance_id: String,
pub action_name: String,
pub input: Option<Value>,
pub host: Option<CanvasHostContext>,
pub session: Option<CanvasSessionContext>,
}Expand description
Canvas action invocation parameters sent to the provider.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§session_id: SessionIdTarget session identifier
extension_id: StringOwning provider identifier
canvas_id: StringProvider-local canvas identifier
instance_id: StringCanvas instance identifier
action_name: StringAction name to invoke
input: Option<Value>Action input
host: Option<CanvasHostContext>Host context supplied by the runtime.
session: Option<CanvasSessionContext>Session context supplied by the runtime.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CanvasProviderInvokeActionRequest
impl<'de> Deserialize<'de> for CanvasProviderInvokeActionRequest
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
Auto Trait Implementations§
impl Freeze for CanvasProviderInvokeActionRequest
impl RefUnwindSafe for CanvasProviderInvokeActionRequest
impl Send for CanvasProviderInvokeActionRequest
impl Sync for CanvasProviderInvokeActionRequest
impl Unpin for CanvasProviderInvokeActionRequest
impl UnsafeUnpin for CanvasProviderInvokeActionRequest
impl UnwindSafe for CanvasProviderInvokeActionRequest
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