pub enum ApiGatewayErrorCode {
NotFound = 404,
FunctionError = 520,
}
Variants§
Trait Implementations§
Source§impl Clone for ApiGatewayErrorCode
impl Clone for ApiGatewayErrorCode
Source§fn clone(&self) -> ApiGatewayErrorCode
fn clone(&self) -> ApiGatewayErrorCode
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 ApiGatewayErrorCode
impl Debug for ApiGatewayErrorCode
Source§impl<'de> Deserialize<'de> for ApiGatewayErrorCode
impl<'de> Deserialize<'de> for ApiGatewayErrorCode
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 Display for ApiGatewayErrorCode
impl Display for ApiGatewayErrorCode
Source§impl Serialize for ApiGatewayErrorCode
impl Serialize for ApiGatewayErrorCode
impl Copy for ApiGatewayErrorCode
Auto Trait Implementations§
impl Freeze for ApiGatewayErrorCode
impl RefUnwindSafe for ApiGatewayErrorCode
impl Send for ApiGatewayErrorCode
impl Sync for ApiGatewayErrorCode
impl Unpin for ApiGatewayErrorCode
impl UnwindSafe for ApiGatewayErrorCode
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