pub enum HttpStatus {
Ok,
BadRequest,
NotFound,
InternalError,
}Expand description
HttpStatus
Variants§
Implementations§
Trait Implementations§
Source§impl CandidType for HttpStatus
impl CandidType for HttpStatus
Source§impl Clone for HttpStatus
impl Clone for HttpStatus
Source§fn clone(&self) -> HttpStatus
fn clone(&self) -> HttpStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HttpStatus
impl Debug for HttpStatus
Source§impl<'de> Deserialize<'de> for HttpStatus
impl<'de> Deserialize<'de> for HttpStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HttpStatus
impl Serialize for HttpStatus
impl Copy for HttpStatus
Auto Trait Implementations§
impl Freeze for HttpStatus
impl RefUnwindSafe for HttpStatus
impl Send for HttpStatus
impl Sync for HttpStatus
impl Unpin for HttpStatus
impl UnwindSafe for HttpStatus
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