pub struct ProjectedToolEventContextV1 {
pub session_id: String,
pub root_session_id: String,
pub tool_name: Option<String>,
pub tool_call_id: String,
}Expand description
Permission-aware context delivered to plugin services. Metadata is the
safe baseline; tool_name is absent unless both requested and host-granted.
Fields§
§session_id: String§root_session_id: String§tool_name: Option<String>§tool_call_id: StringTrait Implementations§
Source§impl Clone for ProjectedToolEventContextV1
impl Clone for ProjectedToolEventContextV1
Source§fn clone(&self) -> ProjectedToolEventContextV1
fn clone(&self) -> ProjectedToolEventContextV1
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 ProjectedToolEventContextV1
impl Debug for ProjectedToolEventContextV1
Source§impl<'de> Deserialize<'de> for ProjectedToolEventContextV1
impl<'de> Deserialize<'de> for ProjectedToolEventContextV1
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 ProjectedToolEventContextV1
impl StructuralPartialEq for ProjectedToolEventContextV1
Auto Trait Implementations§
impl Freeze for ProjectedToolEventContextV1
impl RefUnwindSafe for ProjectedToolEventContextV1
impl Send for ProjectedToolEventContextV1
impl Sync for ProjectedToolEventContextV1
impl Unpin for ProjectedToolEventContextV1
impl UnsafeUnpin for ProjectedToolEventContextV1
impl UnwindSafe for ProjectedToolEventContextV1
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