pub enum AnthropicVersion {
V20230601,
V20230101,
}Expand description
API version for the anthropic-version request header.
Variants§
Trait Implementations§
Source§impl Clone for AnthropicVersion
impl Clone for AnthropicVersion
Source§fn clone(&self) -> AnthropicVersion
fn clone(&self) -> AnthropicVersion
Returns a duplicate of the value. Read more
1.0.0 · 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 AnthropicVersion
impl Debug for AnthropicVersion
Source§impl Default for AnthropicVersion
impl Default for AnthropicVersion
Source§fn default() -> AnthropicVersion
fn default() -> AnthropicVersion
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnthropicVersion
impl<'de> Deserialize<'de> for AnthropicVersion
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 Hash for AnthropicVersion
impl Hash for AnthropicVersion
Source§impl PartialEq for AnthropicVersion
impl PartialEq for AnthropicVersion
Source§impl Serialize for AnthropicVersion
impl Serialize for AnthropicVersion
impl Copy for AnthropicVersion
impl Eq for AnthropicVersion
impl StructuralPartialEq for AnthropicVersion
Auto Trait Implementations§
impl Freeze for AnthropicVersion
impl RefUnwindSafe for AnthropicVersion
impl Send for AnthropicVersion
impl Sync for AnthropicVersion
impl Unpin for AnthropicVersion
impl UnsafeUnpin for AnthropicVersion
impl UnwindSafe for AnthropicVersion
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