pub struct AnthropicAuth {
pub headers: Arc<dyn AuthHeaderProvider>,
pub instruction_policy: Option<InstructionPolicy>,
pub query_params: Option<Vec<QueryParam>>,
}Fields§
§headers: Arc<dyn AuthHeaderProvider>§instruction_policy: Option<InstructionPolicy>§query_params: Option<Vec<QueryParam>>Trait Implementations§
Source§impl Clone for AnthropicAuth
impl Clone for AnthropicAuth
Source§fn clone(&self) -> AnthropicAuth
fn clone(&self) -> AnthropicAuth
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnthropicAuth
impl !RefUnwindSafe for AnthropicAuth
impl Send for AnthropicAuth
impl Sync for AnthropicAuth
impl Unpin for AnthropicAuth
impl !UnwindSafe for AnthropicAuth
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