pub struct AdapterFactRef {
pub id: Option<String>,
pub adapter: String,
pub kind: String,
pub payload: Value,
}Expand description
Reference to an adapter-backed fact relevant to the goal.
Adapters expose typed facts (e.g. {adapter: "numbers", kind: "table", payload: { sheet: "Sheet 1", rows: 12, cols: 8 }}). Selectors include
only facts about the active adapter for the focused app.
Fields§
§id: Option<String>Optional stable id supplied by the adapter. When absent, CEL synthesizes evidence ids from adapter/kind/payload.
adapter: String§kind: String§payload: ValueTrait Implementations§
Source§impl Clone for AdapterFactRef
impl Clone for AdapterFactRef
Source§fn clone(&self) -> AdapterFactRef
fn clone(&self) -> AdapterFactRef
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 AdapterFactRef
impl Debug for AdapterFactRef
Source§impl<'de> Deserialize<'de> for AdapterFactRef
impl<'de> Deserialize<'de> for AdapterFactRef
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 AdapterFactRef
impl RefUnwindSafe for AdapterFactRef
impl Send for AdapterFactRef
impl Sync for AdapterFactRef
impl Unpin for AdapterFactRef
impl UnsafeUnpin for AdapterFactRef
impl UnwindSafe for AdapterFactRef
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