pub enum AnthropicBeta {
Known(AnthropicBetaKnown),
Custom(String),
}Expand description
Anthropic beta header value.
The API accepts both known beta tags and arbitrary strings.
Variants§
Known(AnthropicBetaKnown)
Custom(String)
Trait Implementations§
Source§impl Clone for AnthropicBeta
impl Clone for AnthropicBeta
Source§fn clone(&self) -> AnthropicBeta
fn clone(&self) -> AnthropicBeta
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 AnthropicBeta
impl Debug for AnthropicBeta
Source§impl<'de> Deserialize<'de> for AnthropicBeta
impl<'de> Deserialize<'de> for AnthropicBeta
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 AnthropicBeta
impl PartialEq for AnthropicBeta
Source§impl Serialize for AnthropicBeta
impl Serialize for AnthropicBeta
impl Eq for AnthropicBeta
impl StructuralPartialEq for AnthropicBeta
Auto Trait Implementations§
impl Freeze for AnthropicBeta
impl RefUnwindSafe for AnthropicBeta
impl Send for AnthropicBeta
impl Sync for AnthropicBeta
impl Unpin for AnthropicBeta
impl UnsafeUnpin for AnthropicBeta
impl UnwindSafe for AnthropicBeta
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