pub enum UpstreamKind {
AnthropicApiKey,
AnthropicOauth,
}Expand description
Upstream record kind exposed to router plugins for candidate selection.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for UpstreamKind
impl Clone for UpstreamKind
Source§fn clone(&self) -> UpstreamKind
fn clone(&self) -> UpstreamKind
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 moreimpl Copy for UpstreamKind
Source§impl Debug for UpstreamKind
impl Debug for UpstreamKind
Source§impl<'de> Deserialize<'de> for UpstreamKind
impl<'de> Deserialize<'de> for UpstreamKind
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
impl Eq for UpstreamKind
Source§impl PartialEq for UpstreamKind
impl PartialEq for UpstreamKind
Source§fn eq(&self, other: &UpstreamKind) -> bool
fn eq(&self, other: &UpstreamKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpstreamKind
impl Serialize for UpstreamKind
impl StructuralPartialEq for UpstreamKind
Auto Trait Implementations§
impl Freeze for UpstreamKind
impl RefUnwindSafe for UpstreamKind
impl Send for UpstreamKind
impl Sync for UpstreamKind
impl Unpin for UpstreamKind
impl UnsafeUnpin for UpstreamKind
impl UnwindSafe for UpstreamKind
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