pub struct ClaudeOAuth {
pub access_token: String,
pub refresh_token: String,
pub expires_at: i64,
pub scopes: Vec<String>,
pub subscription_type: String,
}Fields§
§access_token: String§refresh_token: String§expires_at: i64§scopes: Vec<String>§subscription_type: StringTrait Implementations§
Source§impl Clone for ClaudeOAuth
impl Clone for ClaudeOAuth
Source§fn clone(&self) -> ClaudeOAuth
fn clone(&self) -> ClaudeOAuth
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 moreSource§impl Debug for ClaudeOAuth
impl Debug for ClaudeOAuth
Source§impl<'de> Deserialize<'de> for ClaudeOAuth
impl<'de> Deserialize<'de> for ClaudeOAuth
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ClaudeOAuth
impl RefUnwindSafe for ClaudeOAuth
impl Send for ClaudeOAuth
impl Sync for ClaudeOAuth
impl Unpin for ClaudeOAuth
impl UnwindSafe for ClaudeOAuth
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