pub struct SessionCanvasOpenResult {
pub availability: CanvasInstanceAvailability,
pub canvas_id: String,
pub extension_id: String,
pub extension_name: Option<String>,
pub input: Option<Value>,
pub instance_id: String,
pub reopen: bool,
pub status: Option<String>,
pub title: Option<String>,
pub url: Option<String>,
}Expand description
Open canvas instance snapshot.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§availability: CanvasInstanceAvailabilityRuntime-controlled routing state for an open canvas instance.
canvas_id: StringProvider-local canvas identifier
extension_id: StringOwning provider identifier
extension_name: Option<String>Owning extension display name, when available
input: Option<Value>Input supplied when the instance was opened
instance_id: StringStable caller-supplied canvas instance identifier
reopen: boolWhether this snapshot came from an idempotent reopen
status: Option<String>Provider-supplied status text
title: Option<String>Rendered title
url: Option<String>URL for web-rendered canvases
Trait Implementations§
Source§impl Clone for SessionCanvasOpenResult
impl Clone for SessionCanvasOpenResult
Source§fn clone(&self) -> SessionCanvasOpenResult
fn clone(&self) -> SessionCanvasOpenResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionCanvasOpenResult
impl Debug for SessionCanvasOpenResult
Source§impl Default for SessionCanvasOpenResult
impl Default for SessionCanvasOpenResult
Source§fn default() -> SessionCanvasOpenResult
fn default() -> SessionCanvasOpenResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCanvasOpenResult
impl<'de> Deserialize<'de> for SessionCanvasOpenResult
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 SessionCanvasOpenResult
impl RefUnwindSafe for SessionCanvasOpenResult
impl Send for SessionCanvasOpenResult
impl Sync for SessionCanvasOpenResult
impl Unpin for SessionCanvasOpenResult
impl UnsafeUnpin for SessionCanvasOpenResult
impl UnwindSafe for SessionCanvasOpenResult
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