pub struct GcalSecrets {
pub client_id: String,
pub client_secret: String,
pub refresh_token: String,
}Expand description
Google Calendar’s credential shape — OAuth 2.0 “Desktop app”:
client_id + client_secret + a long-lived refresh_token. All
three are persisted in the OS keychain; the access token is
re-minted at each CLI invocation.
Fields§
§client_id: String§client_secret: String§refresh_token: StringAuto Trait Implementations§
impl Freeze for GcalSecrets
impl RefUnwindSafe for GcalSecrets
impl Send for GcalSecrets
impl Sync for GcalSecrets
impl Unpin for GcalSecrets
impl UnsafeUnpin for GcalSecrets
impl UnwindSafe for GcalSecrets
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