pub struct DiscoveredCanvas {
pub actions: Option<Vec<CanvasAction>>,
pub canvas_id: String,
pub description: String,
pub display_name: String,
pub extension_id: String,
pub extension_name: Option<String>,
pub input_schema: Option<Value>,
}Expand description
Canvas available in the current session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§actions: Option<Vec<CanvasAction>>Actions the agent or host may invoke on an open instance
canvas_id: StringProvider-local canvas identifier
description: StringShort, single-sentence description shown to the agent in canvas catalogs.
display_name: StringHuman-readable canvas name
extension_id: StringOwning provider identifier
extension_name: Option<String>Owning extension display name, when available
input_schema: Option<Value>JSON Schema for canvas open input
Trait Implementations§
Source§impl Clone for DiscoveredCanvas
impl Clone for DiscoveredCanvas
Source§fn clone(&self) -> DiscoveredCanvas
fn clone(&self) -> DiscoveredCanvas
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 DiscoveredCanvas
impl Debug for DiscoveredCanvas
Source§impl Default for DiscoveredCanvas
impl Default for DiscoveredCanvas
Source§fn default() -> DiscoveredCanvas
fn default() -> DiscoveredCanvas
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiscoveredCanvas
impl<'de> Deserialize<'de> for DiscoveredCanvas
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 DiscoveredCanvas
impl RefUnwindSafe for DiscoveredCanvas
impl Send for DiscoveredCanvas
impl Sync for DiscoveredCanvas
impl Unpin for DiscoveredCanvas
impl UnsafeUnpin for DiscoveredCanvas
impl UnwindSafe for DiscoveredCanvas
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