pub struct RefreshInput { /* private fields */ }Expand description
Input for the refresh orchestration flow.
Implementations§
Source§impl RefreshInput
impl RefreshInput
pub fn new( refresh_token: String, issued_at: SystemTime, access_token_ttl: Duration, ) -> Self
pub fn refresh_token(&self) -> &str
pub const fn issued_at(&self) -> SystemTime
pub const fn access_token_ttl(&self) -> Duration
Trait Implementations§
Source§impl Clone for RefreshInput
impl Clone for RefreshInput
Source§fn clone(&self) -> RefreshInput
fn clone(&self) -> RefreshInput
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 RefreshInput
impl RefUnwindSafe for RefreshInput
impl Send for RefreshInput
impl Sync for RefreshInput
impl Unpin for RefreshInput
impl UnsafeUnpin for RefreshInput
impl UnwindSafe for RefreshInput
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