pub struct SessionCanvasOpenedData {
pub availability: CanvasOpenedAvailability,
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
Session event “session.canvas.opened”.
Fields§
§availability: CanvasOpenedAvailabilityRuntime-controlled routing state for the instance. “ready” when the provider connection is live; “stale” when the provider has gone away and the instance is awaiting rebinding.
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 notification represents 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 SessionCanvasOpenedData
impl Clone for SessionCanvasOpenedData
Source§fn clone(&self) -> SessionCanvasOpenedData
fn clone(&self) -> SessionCanvasOpenedData
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 SessionCanvasOpenedData
impl Debug for SessionCanvasOpenedData
Source§impl Default for SessionCanvasOpenedData
impl Default for SessionCanvasOpenedData
Source§fn default() -> SessionCanvasOpenedData
fn default() -> SessionCanvasOpenedData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCanvasOpenedData
impl<'de> Deserialize<'de> for SessionCanvasOpenedData
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 SessionCanvasOpenedData
impl RefUnwindSafe for SessionCanvasOpenedData
impl Send for SessionCanvasOpenedData
impl Sync for SessionCanvasOpenedData
impl Unpin for SessionCanvasOpenedData
impl UnsafeUnpin for SessionCanvasOpenedData
impl UnwindSafe for SessionCanvasOpenedData
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