pub struct ToolDiscoveryCandidate {
pub pack_id: String,
pub tool_names: Vec<String>,
pub package_delta_required: bool,
}Expand description
Discovery tool discovery candidate request or result value. Creating the value does not register tools; discovery executors document catalog and package-bundle effects.
Fields§
§pack_id: StringStable pack id used for typed lineage, lookup, or dedupe.
tool_names: Vec<String>Tool names exposed in a discovery result.
package_delta_required: boolWhether activation must be applied as a package delta before use.
Trait Implementations§
Source§impl Clone for ToolDiscoveryCandidate
impl Clone for ToolDiscoveryCandidate
Source§fn clone(&self) -> ToolDiscoveryCandidate
fn clone(&self) -> ToolDiscoveryCandidate
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 ToolDiscoveryCandidate
impl Debug for ToolDiscoveryCandidate
Source§impl<'de> Deserialize<'de> for ToolDiscoveryCandidate
impl<'de> Deserialize<'de> for ToolDiscoveryCandidate
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
Source§impl PartialEq for ToolDiscoveryCandidate
impl PartialEq for ToolDiscoveryCandidate
Source§fn eq(&self, other: &ToolDiscoveryCandidate) -> bool
fn eq(&self, other: &ToolDiscoveryCandidate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolDiscoveryCandidate
impl Serialize for ToolDiscoveryCandidate
impl Eq for ToolDiscoveryCandidate
impl StructuralPartialEq for ToolDiscoveryCandidate
Auto Trait Implementations§
impl Freeze for ToolDiscoveryCandidate
impl RefUnwindSafe for ToolDiscoveryCandidate
impl Send for ToolDiscoveryCandidate
impl Sync for ToolDiscoveryCandidate
impl Unpin for ToolDiscoveryCandidate
impl UnsafeUnpin for ToolDiscoveryCandidate
impl UnwindSafe for ToolDiscoveryCandidate
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,
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§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.