pub struct ValidatedToolInvocation { /* private fields */ }Expand description
Invocation proven valid against a registered tool schema and resource resolver.
Implementations§
Source§impl ValidatedToolInvocation
impl ValidatedToolInvocation
Sourcepub const fn tool_call_id(&self) -> &ToolCallId
pub const fn tool_call_id(&self) -> &ToolCallId
Returns canonical tool-call ID.
Sourcepub const fn metadata(&self) -> &ProtocolMetadata
pub const fn metadata(&self) -> &ProtocolMetadata
Returns bounded invocation metadata.
Sourcepub const fn source(&self) -> &ToolSource
pub const fn source(&self) -> &ToolSource
Returns provenance frozen when registry validation succeeded.
Sourcepub fn resources(&self) -> &[ToolResource]
pub fn resources(&self) -> &[ToolResource]
Returns sorted resolved resources.
Sourcepub fn scheduler_class(&self) -> SchedulerClass
pub fn scheduler_class(&self) -> SchedulerClass
Returns metadata-derived scheduler class.
Trait Implementations§
Source§impl Clone for ValidatedToolInvocation
impl Clone for ValidatedToolInvocation
Source§fn clone(&self) -> ValidatedToolInvocation
fn clone(&self) -> ValidatedToolInvocation
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 moreAuto Trait Implementations§
impl Freeze for ValidatedToolInvocation
impl RefUnwindSafe for ValidatedToolInvocation
impl Send for ValidatedToolInvocation
impl Sync for ValidatedToolInvocation
impl Unpin for ValidatedToolInvocation
impl UnsafeUnpin for ValidatedToolInvocation
impl UnwindSafe for ValidatedToolInvocation
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