pub struct HttpSpec {
pub status: HttpStatusCode,
}Expand description
Represents http spec.
Fields§
§status: HttpStatusCodeThe status value.
Implementations§
Trait Implementations§
impl Copy for HttpSpec
impl Eq for HttpSpec
Source§impl Ord for HttpSpec
impl Ord for HttpSpec
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for HttpSpec
impl PartialOrd for HttpSpec
impl StructuralPartialEq for HttpSpec
Auto Trait Implementations§
impl Freeze for HttpSpec
impl RefUnwindSafe for HttpSpec
impl Send for HttpSpec
impl Sync for HttpSpec
impl Unpin for HttpSpec
impl UnsafeUnpin for HttpSpec
impl UnwindSafe for HttpSpec
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