pub struct FrameworkExtension {
pub framework: Option<String>,
pub framework_version: Option<String>,
pub node_id: Option<String>,
pub graph_id: Option<String>,
pub metadata: HashMap<String, Value>,
}Expand description
Agentic framework context.
Carries framework identity and graph/workflow metadata. Immutable — set by the host.
Fields§
§framework: Option<String>Framework name (e.g., “langchain”, “crewai”, “autogen”).
framework_version: Option<String>Framework version.
node_id: Option<String>Node ID in an agent graph/workflow.
graph_id: Option<String>Graph/workflow ID.
metadata: HashMap<String, Value>Framework-specific metadata.
Trait Implementations§
Source§impl Clone for FrameworkExtension
impl Clone for FrameworkExtension
Source§fn clone(&self) -> FrameworkExtension
fn clone(&self) -> FrameworkExtension
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 FrameworkExtension
impl Debug for FrameworkExtension
Source§impl Default for FrameworkExtension
impl Default for FrameworkExtension
Source§fn default() -> FrameworkExtension
fn default() -> FrameworkExtension
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FrameworkExtension
impl<'de> Deserialize<'de> for FrameworkExtension
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 FrameworkExtension
impl RefUnwindSafe for FrameworkExtension
impl Send for FrameworkExtension
impl Sync for FrameworkExtension
impl Unpin for FrameworkExtension
impl UnsafeUnpin for FrameworkExtension
impl UnwindSafe for FrameworkExtension
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