pub struct AgentChartContext {
pub block_id: String,
pub placement_ref: Option<String>,
pub table_id: String,
pub view_id: String,
pub chart: Value,
pub style: Option<Value>,
pub source: Option<SourceSpan>,
}Expand description
Agent context for one chart placement.
Fields§
§block_id: StringDocument block id for the chart placement.
placement_ref: Option<String>Optional placement ref from Markdown.
table_id: StringSource table id.
view_id: StringSource chart view id.
chart: ValueChart encoding metadata.
style: Option<Value>Optional style metadata.
source: Option<SourceSpan>Source span of the placement.
Trait Implementations§
Source§impl Clone for AgentChartContext
impl Clone for AgentChartContext
Source§impl Debug for AgentChartContext
impl Debug for AgentChartContext
Source§impl<'de> Deserialize<'de> for AgentChartContext
impl<'de> Deserialize<'de> for AgentChartContext
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
impl Eq for AgentChartContext
Source§impl PartialEq for AgentChartContext
impl PartialEq for AgentChartContext
Source§impl Serialize for AgentChartContext
impl Serialize for AgentChartContext
impl StructuralPartialEq for AgentChartContext
Auto Trait Implementations§
impl Freeze for AgentChartContext
impl RefUnwindSafe for AgentChartContext
impl Send for AgentChartContext
impl Sync for AgentChartContext
impl Unpin for AgentChartContext
impl UnsafeUnpin for AgentChartContext
impl UnwindSafe for AgentChartContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.