pub enum ApplicationCode {
ApplicationError(ApplicationError),
Value(u32),
}Variants§
ApplicationError(ApplicationError)
Value(u32)
Trait Implementations§
Source§impl Clone for ApplicationCode
impl Clone for ApplicationCode
Source§fn clone(&self) -> ApplicationCode
fn clone(&self) -> ApplicationCode
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 ApplicationCode
impl Debug for ApplicationCode
Source§impl<'de> Deserialize<'de> for ApplicationCode
impl<'de> Deserialize<'de> for ApplicationCode
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 From<ApplicationCode> for ApplicationCode
impl From<ApplicationCode> for ApplicationCode
Source§fn from(value: ApplicationCode) -> Self
fn from(value: ApplicationCode) -> Self
Converts to this type from the input type.
Source§impl From<ApplicationError> for ApplicationCode
impl From<ApplicationError> for ApplicationCode
Source§fn from(value: ApplicationError) -> Self
fn from(value: ApplicationError) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ApplicationCode
impl From<u32> for ApplicationCode
Source§impl PartialEq for ApplicationCode
impl PartialEq for ApplicationCode
Source§impl Serialize for ApplicationCode
impl Serialize for ApplicationCode
impl StructuralPartialEq for ApplicationCode
Auto Trait Implementations§
impl Freeze for ApplicationCode
impl RefUnwindSafe for ApplicationCode
impl Send for ApplicationCode
impl Sync for ApplicationCode
impl Unpin for ApplicationCode
impl UnsafeUnpin for ApplicationCode
impl UnwindSafe for ApplicationCode
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