pub struct FilesApiConfig {
pub oauth_token: String,
pub base_url: Option<String>,
pub session_id: String,
}Expand description
Configuration for the files API client
Fields§
§oauth_token: StringOAuth token for authentication (from session JWT)
base_url: Option<String>Base URL for the API (default: https://api.anthropic.com)
session_id: StringSession ID for creating session-specific directories
Trait Implementations§
Source§impl Clone for FilesApiConfig
impl Clone for FilesApiConfig
Source§fn clone(&self) -> FilesApiConfig
fn clone(&self) -> FilesApiConfig
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 FilesApiConfig
impl RefUnwindSafe for FilesApiConfig
impl Send for FilesApiConfig
impl Sync for FilesApiConfig
impl Unpin for FilesApiConfig
impl UnsafeUnpin for FilesApiConfig
impl UnwindSafe for FilesApiConfig
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