pub struct NativeModelToolId(/* private fields */);Expand description
Stable Nenjo-facing identifier for a provider-native model tool.
This is intentionally open-ended. Providers publish the concrete tool contracts they support, while model configuration stores the enabled IDs.
Implementations§
Trait Implementations§
Source§impl Clone for NativeModelToolId
impl Clone for NativeModelToolId
Source§fn clone(&self) -> NativeModelToolId
fn clone(&self) -> NativeModelToolId
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 NativeModelToolId
impl Debug for NativeModelToolId
Source§impl<'de> Deserialize<'de> for NativeModelToolId
impl<'de> Deserialize<'de> for NativeModelToolId
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 Display for NativeModelToolId
impl Display for NativeModelToolId
impl Eq for NativeModelToolId
Source§impl From<&str> for NativeModelToolId
impl From<&str> for NativeModelToolId
Source§impl From<NativeModelToolId> for String
impl From<NativeModelToolId> for String
Source§fn from(value: NativeModelToolId) -> Self
fn from(value: NativeModelToolId) -> Self
Converts to this type from the input type.
Source§impl FromStr for NativeModelToolId
impl FromStr for NativeModelToolId
Source§impl Hash for NativeModelToolId
impl Hash for NativeModelToolId
Source§impl PartialEq for NativeModelToolId
impl PartialEq for NativeModelToolId
Source§fn eq(&self, other: &NativeModelToolId) -> bool
fn eq(&self, other: &NativeModelToolId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NativeModelToolId
impl Serialize for NativeModelToolId
impl StructuralPartialEq for NativeModelToolId
Auto Trait Implementations§
impl Freeze for NativeModelToolId
impl RefUnwindSafe for NativeModelToolId
impl Send for NativeModelToolId
impl Sync for NativeModelToolId
impl Unpin for NativeModelToolId
impl UnsafeUnpin for NativeModelToolId
impl UnwindSafe for NativeModelToolId
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.