pub enum ErrorCodes {
Codes(Vec<String>),
Unmapped,
}
Variants§
Implementations§
Source§impl ErrorCodes
impl ErrorCodes
pub fn default() -> ErrorCodes
Trait Implementations§
Source§impl Clone for ErrorCodes
impl Clone for ErrorCodes
Source§fn clone(&self) -> ErrorCodes
fn clone(&self) -> ErrorCodes
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 ErrorCodes
impl Debug for ErrorCodes
Source§impl<'de> Deserialize<'de> for ErrorCodes
impl<'de> Deserialize<'de> for ErrorCodes
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 ErrorCodes
impl Display for ErrorCodes
Source§impl PartialEq for ErrorCodes
impl PartialEq for ErrorCodes
Source§impl Serialize for ErrorCodes
impl Serialize for ErrorCodes
impl StructuralPartialEq for ErrorCodes
Auto Trait Implementations§
impl Freeze for ErrorCodes
impl RefUnwindSafe for ErrorCodes
impl Send for ErrorCodes
impl Sync for ErrorCodes
impl Unpin for ErrorCodes
impl UnwindSafe for ErrorCodes
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