pub struct ClaudeSide {
pub executable: String,
pub usage_endpoint: Option<String>,
pub session: SessionSettings,
}Expand description
What the provider runs and reads for the Claude Code kinds (anthropic-api-key, anthropic-auth-token).
Fields§
§executable: StringThe Claude Code program that lists an account’s models: a path, or a name looked up on the PATH where the
spawner runs it. Default claude.
usage_endpoint: Option<String>The address a key’s rate limits are read from when the account names no base_url, in place of
https://api.anthropic.com. Absent, Anthropic’s.
session: SessionSettingsHow the session that lists models reads Claude Code’s output, waits for it and ends it.
Trait Implementations§
Source§impl Clone for ClaudeSide
impl Clone for ClaudeSide
Source§impl Debug for ClaudeSide
impl Debug for ClaudeSide
Source§impl Default for ClaudeSide
impl Default for ClaudeSide
Source§impl FromValue for ClaudeSide
impl FromValue for ClaudeSide
Source§const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
const KINDS: Kinds = ::ai6::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for ClaudeSide
impl FromWalk for ClaudeSide
Source§impl Schema for ClaudeSide
impl Schema for ClaudeSide
Source§impl ToValue for ClaudeSide
impl ToValue for ClaudeSide
Auto Trait Implementations§
impl Freeze for ClaudeSide
impl RefUnwindSafe for ClaudeSide
impl Send for ClaudeSide
impl Sync for ClaudeSide
impl Unpin for ClaudeSide
impl UnsafeUnpin for ClaudeSide
impl UnwindSafe for ClaudeSide
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.