pub struct SystemOneConfig {
pub base_url: String,
pub api_key: Option<String>,
pub model: String,
pub timeout_ms: u64,
}Expand description
An enabled, validated [systemone] section.
Fields§
§base_url: String§api_key: Option<String>§model: String§timeout_ms: u64Trait Implementations§
Source§impl Clone for SystemOneConfig
impl Clone for SystemOneConfig
Source§impl Debug for SystemOneConfig
Hand-written because the API key must never be printed.
impl Debug for SystemOneConfig
Hand-written because the API key must never be printed.
impl Eq for SystemOneConfig
Source§impl PartialEq for SystemOneConfig
impl PartialEq for SystemOneConfig
impl StructuralPartialEq for SystemOneConfig
Auto Trait Implementations§
impl Freeze for SystemOneConfig
impl RefUnwindSafe for SystemOneConfig
impl Send for SystemOneConfig
impl Sync for SystemOneConfig
impl Unpin for SystemOneConfig
impl UnsafeUnpin for SystemOneConfig
impl UnwindSafe for SystemOneConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.