pub enum DeepSeekModel {
V4Pro,
Reasoner,
Chat,
}Expand description
DeepSeek model identifiers — parity with Anthropic’s multi-model routing
Variants§
V4Pro
DeepSeek V4-Pro — flagship with thinking mode + reasoning_effort.
Reasoner
DeepSeek-R1 — kept for back-compat. New code should prefer V4Pro.
Chat
DeepSeek-V3 — kept for back-compat.
Implementations§
Source§impl DeepSeekModel
impl DeepSeekModel
Trait Implementations§
Source§impl Clone for DeepSeekModel
impl Clone for DeepSeekModel
Source§fn clone(&self) -> DeepSeekModel
fn clone(&self) -> DeepSeekModel
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 DeepSeekModel
impl Debug for DeepSeekModel
Source§impl Default for DeepSeekModel
impl Default for DeepSeekModel
Source§fn default() -> DeepSeekModel
fn default() -> DeepSeekModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeepSeekModel
impl<'de> Deserialize<'de> for DeepSeekModel
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 DeepSeekModel
impl PartialEq for DeepSeekModel
Source§fn eq(&self, other: &DeepSeekModel) -> bool
fn eq(&self, other: &DeepSeekModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeepSeekModel
impl Serialize for DeepSeekModel
impl StructuralPartialEq for DeepSeekModel
Auto Trait Implementations§
impl Freeze for DeepSeekModel
impl RefUnwindSafe for DeepSeekModel
impl Send for DeepSeekModel
impl Sync for DeepSeekModel
impl Unpin for DeepSeekModel
impl UnsafeUnpin for DeepSeekModel
impl UnwindSafe for DeepSeekModel
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