pub struct XApiVersion(/* private fields */);
Expand description
Custom HTTP header conveying the API version, which is expected to be a version designator
starting with 'v'
followed by a number within 0u16..10_000
without leading zero, e.g. v0
.
Trait Implementations§
Source§impl Debug for XApiVersion
impl Debug for XApiVersion
Auto Trait Implementations§
impl Freeze for XApiVersion
impl RefUnwindSafe for XApiVersion
impl Send for XApiVersion
impl Sync for XApiVersion
impl Unpin for XApiVersion
impl UnwindSafe for XApiVersion
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