pub struct Nothing;Expand description
A type containing nothing at all. For Option-like behavior on the type level, i.e. to describe
the lack of an API key in a ClientBuilder
Trait Implementations§
Source§impl ApiKey for Nothing
impl ApiKey for Nothing
fn into_header(self) -> Option<Result<(HeaderName, HeaderValue), Error>>
impl Copy for Nothing
Auto Trait Implementations§
impl Freeze for Nothing
impl RefUnwindSafe for Nothing
impl Send for Nothing
impl Sync for Nothing
impl Unpin for Nothing
impl UnwindSafe for Nothing
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