pub struct ApiKeySettings {
pub claude: ClaudeSide,
pub codex: CodexSide,
pub command_timeout_ms: u64,
pub usage_timeout_ms: u64,
}Expand description
One instance’s settings; every one has a default.
Fields§
§claude: ClaudeSideThe Claude Code kinds.
codex: CodexSideThe Codex kind.
command_timeout_ms: u64The longest, in milliseconds, the command that saves a Codex key (codex login) may take; 0 ends it at once.
Default 60000.
usage_timeout_ms: u64The longest, in milliseconds, a rate-limits read may take in all. Default 10000.
Trait Implementations§
Source§impl Clone for ApiKeySettings
impl Clone for ApiKeySettings
Source§impl Debug for ApiKeySettings
impl Debug for ApiKeySettings
Source§impl Default for ApiKeySettings
impl Default for ApiKeySettings
Source§impl From<ApiKeySettings> for ApiKeyAccounts
impl From<ApiKeySettings> for ApiKeyAccounts
Source§fn from(settings: ApiKeySettings) -> Self
fn from(settings: ApiKeySettings) -> Self
Converts to this type from the input type.
Source§impl FromValue for ApiKeySettings
impl FromValue for ApiKeySettings
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 ApiKeySettings
impl FromWalk for ApiKeySettings
Source§impl MapRead for ApiKeySettings
impl MapRead for ApiKeySettings
Source§impl Schema for ApiKeySettings
impl Schema for ApiKeySettings
Source§impl ToValue for ApiKeySettings
impl ToValue for ApiKeySettings
Auto Trait Implementations§
impl Freeze for ApiKeySettings
impl RefUnwindSafe for ApiKeySettings
impl Send for ApiKeySettings
impl Sync for ApiKeySettings
impl Unpin for ApiKeySettings
impl UnsafeUnpin for ApiKeySettings
impl UnwindSafe for ApiKeySettings
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.