pub struct StaticToken(pub String);Expand description
A token held in memory. For tests, and for a CLI invocation that was handed one on the command line.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl TokenSource for StaticToken
impl TokenSource for StaticToken
Auto Trait Implementations§
impl Forget for StaticToken
impl Freeze for StaticToken
impl Move for StaticToken
impl RefUnwindSafe for StaticToken
impl Send for StaticToken
impl Sync for StaticToken
impl Unpin for StaticToken
impl UnsafeUnpin for StaticToken
impl UnwindSafe for StaticToken
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