pub struct GoogleOAuthState { /* private fields */ }Implementations§
Source§impl GoogleOAuthState
impl GoogleOAuthState
pub fn from_env(data_dir: &Path) -> Result<Self, String>
Sourcepub fn calendar_runtime(
&self,
families: Arc<FamilyService>,
) -> Option<GoogleCalendarRuntimeConfig>
pub fn calendar_runtime( &self, families: Arc<FamilyService>, ) -> Option<GoogleCalendarRuntimeConfig>
Compose the trusted Google Calendar tool runtime from the same stores used by the authenticated OAuth and calendar-management endpoints.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GoogleOAuthState
impl !UnwindSafe for GoogleOAuthState
impl Freeze for GoogleOAuthState
impl Send for GoogleOAuthState
impl Sync for GoogleOAuthState
impl Unpin for GoogleOAuthState
impl UnsafeUnpin for GoogleOAuthState
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