pub struct PSToken {
pub token: String,
pub expiry: DateTime<Utc>,
pub header: HeaderValue,
}Expand description
Temporary access token for making calls to psapi.
Fields§
§token: String§expiry: DateTime<Utc>§header: HeaderValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PSToken
impl RefUnwindSafe for PSToken
impl Send for PSToken
impl Sync for PSToken
impl Unpin for PSToken
impl UnwindSafe for PSToken
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