pub struct SessionCanvasRecordedData {
pub canvas_id: String,
pub extension_id: String,
pub input: Option<Value>,
pub instance_id: String,
pub title: Option<String>,
}Expand description
Session event “session.canvas.recorded”. Durable record that a canvas instance is open, used to restore open canvases on cold session resume. Intentionally omits the transient url and availability.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§canvas_id: StringProvider-local canvas identifier
extension_id: StringOwning provider identifier
input: Option<Value>Input supplied when the instance was opened
instance_id: StringStable caller-supplied canvas instance identifier
title: Option<String>Rendered title
Trait Implementations§
Source§impl Clone for SessionCanvasRecordedData
impl Clone for SessionCanvasRecordedData
Source§fn clone(&self) -> SessionCanvasRecordedData
fn clone(&self) -> SessionCanvasRecordedData
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 SessionCanvasRecordedData
impl Debug for SessionCanvasRecordedData
Source§impl Default for SessionCanvasRecordedData
impl Default for SessionCanvasRecordedData
Source§fn default() -> SessionCanvasRecordedData
fn default() -> SessionCanvasRecordedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCanvasRecordedData
impl<'de> Deserialize<'de> for SessionCanvasRecordedData
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 SessionCanvasRecordedData
impl RefUnwindSafe for SessionCanvasRecordedData
impl Send for SessionCanvasRecordedData
impl Sync for SessionCanvasRecordedData
impl Unpin for SessionCanvasRecordedData
impl UnsafeUnpin for SessionCanvasRecordedData
impl UnwindSafe for SessionCanvasRecordedData
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