pub struct BaseUrlCredential {
pub base_url: String,
pub bearer: String,
}Expand description
The base-url credential an account’s env carries: the
ANTHROPIC_BASE_URL endpoint and the ANTHROPIC_AUTH_TOKEN bearer
beside it.
Fields§
§base_url: String§bearer: StringTrait Implementations§
Source§impl Clone for BaseUrlCredential
impl Clone for BaseUrlCredential
Source§impl Debug for BaseUrlCredential
Hand-written because the bearer is the account’s live credential,
which the derived output would print.
impl Debug for BaseUrlCredential
Hand-written because the bearer is the account’s live credential, which the derived output would print.
impl Eq for BaseUrlCredential
Source§impl PartialEq for BaseUrlCredential
impl PartialEq for BaseUrlCredential
impl StructuralPartialEq for BaseUrlCredential
Auto Trait Implementations§
impl Freeze for BaseUrlCredential
impl RefUnwindSafe for BaseUrlCredential
impl Send for BaseUrlCredential
impl Sync for BaseUrlCredential
impl Unpin for BaseUrlCredential
impl UnsafeUnpin for BaseUrlCredential
impl UnwindSafe for BaseUrlCredential
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.