pub struct WireModelId(/* private fields */);Expand description
A provider-owned wire model id sent verbatim on the request.
Distinct from ModelId: aggregator-prefixed strings such as
"deepseek-ai/DeepSeek-V4-Pro" are wire ids, not canonical identities.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for WireModelId
impl AsRef<str> for WireModelId
Source§impl Clone for WireModelId
impl Clone for WireModelId
Source§fn clone(&self) -> WireModelId
fn clone(&self) -> WireModelId
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 WireModelId
impl Debug for WireModelId
Source§impl<'de> Deserialize<'de> for WireModelId
impl<'de> Deserialize<'de> for WireModelId
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 WireModelId
impl Display for WireModelId
impl Eq for WireModelId
Source§impl From<&str> for WireModelId
impl From<&str> for WireModelId
Source§impl From<String> for WireModelId
impl From<String> for WireModelId
Source§impl Hash for WireModelId
impl Hash for WireModelId
Source§impl PartialEq for WireModelId
impl PartialEq for WireModelId
Source§impl Serialize for WireModelId
impl Serialize for WireModelId
impl StructuralPartialEq for WireModelId
Auto Trait Implementations§
impl Freeze for WireModelId
impl RefUnwindSafe for WireModelId
impl Send for WireModelId
impl Sync for WireModelId
impl Unpin for WireModelId
impl UnsafeUnpin for WireModelId
impl UnwindSafe for WireModelId
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.