Enum baimax::data::StatusCode
[−]
[src]
pub enum StatusCode { Account(AccountStatus), Loan(LoanStatus), }
Variants
Account(AccountStatus)
Loan(LoanStatus)
Trait Implementations
impl Debug for StatusCode
[src]
impl Clone for StatusCode
[src]
fn clone(&self) -> StatusCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for StatusCode
[src]
impl PartialEq for StatusCode
[src]
fn eq(&self, __arg_0: &StatusCode) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StatusCode) -> bool
This method tests for !=
.
impl Eq for StatusCode
[src]
impl TryFrom<u16> for StatusCode
[src]
type Error = u16
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(code: u16) -> Result<StatusCode, u16>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.