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 StaticTokenwhere
RawVecInner: Send,
impl Sync for StaticTokenwhere
RawVecInner: Sync,
impl Unpin for StaticToken
impl UnsafeUnpin for StaticToken
impl UnwindSafe for StaticTokenwhere
RawVecInner: UnwindSafe,
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