pub struct ResolvedToken {
pub origin: TokenOrigin,
/* private fields */
}Expand description
The bearer token a command should use for a server, plus its origin.
Holds a secret — Debug is manual and redacts the token value (mirrors
the ServerEntry pattern in auth_cache.rs).
Fields§
§origin: TokenOriginWhere the token came from.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedToken
impl RefUnwindSafe for ResolvedToken
impl Send for ResolvedToken
impl Sync for ResolvedToken
impl Unpin for ResolvedToken
impl UnsafeUnpin for ResolvedToken
impl UnwindSafe for ResolvedToken
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