Struct octocrab::CachedToken
source · pub struct CachedToken(/* private fields */);
Expand description
A cached API access token (which may be None)
Trait Implementations§
source§impl Clone for CachedToken
impl Clone for CachedToken
source§fn clone(&self) -> CachedToken
fn clone(&self) -> CachedToken
Returns a copy 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 CachedToken
impl Debug for CachedToken
source§impl Default for CachedToken
impl Default for CachedToken
source§fn default() -> CachedToken
fn default() -> CachedToken
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for CachedToken
impl RefUnwindSafe for CachedToken
impl Send for CachedToken
impl Sync for CachedToken
impl Unpin for CachedToken
impl UnwindSafe for CachedToken
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.