api_response::error_status

Enum CodeSegment

Source
#[repr(u8)]
pub enum CodeSegment {
Show 99 variants S01 = 1, S02 = 2, S03 = 3, S04 = 4, S05 = 5, S06 = 6, S07 = 7, S08 = 8, S09 = 9, S10 = 10, S11 = 11, S12 = 12, S13 = 13, S14 = 14, S15 = 15, S16 = 16, S17 = 17, S18 = 18, S19 = 19, S20 = 20, S21 = 21, S22 = 22, S23 = 23, S24 = 24, S25 = 25, S26 = 26, S27 = 27, S28 = 28, S29 = 29, S30 = 30, S31 = 31, S32 = 32, S33 = 33, S34 = 34, S35 = 35, S36 = 36, S37 = 37, S38 = 38, S39 = 39, S40 = 40, S41 = 41, S42 = 42, S43 = 43, S44 = 44, S45 = 45, S46 = 46, S47 = 47, S48 = 48, S49 = 49, S50 = 50, S51 = 51, S52 = 52, S53 = 53, S54 = 54, S55 = 55, S56 = 56, S57 = 57, S58 = 58, S59 = 59, S60 = 60, S61 = 61, S62 = 62, S63 = 63, S64 = 64, S65 = 65, S66 = 66, S67 = 67, S68 = 68, S69 = 69, S70 = 70, S71 = 71, S72 = 72, S73 = 73, S74 = 74, S75 = 75, S76 = 76, S77 = 77, S78 = 78, S79 = 79, S80 = 80, S81 = 81, S82 = 82, S83 = 83, S84 = 84, S85 = 85, S86 = 86, S87 = 87, S88 = 88, S89 = 89, S90 = 90, S91 = 91, S92 = 92, S93 = 93, S94 = 94, S95 = 95, S96 = 96, S97 = 97, S98 = 98, S99 = 99,
}

Variants§

§

S01 = 1

§

S02 = 2

§

S03 = 3

§

S04 = 4

§

S05 = 5

§

S06 = 6

§

S07 = 7

§

S08 = 8

§

S09 = 9

§

S10 = 10

§

S11 = 11

§

S12 = 12

§

S13 = 13

§

S14 = 14

§

S15 = 15

§

S16 = 16

§

S17 = 17

§

S18 = 18

§

S19 = 19

§

S20 = 20

§

S21 = 21

§

S22 = 22

§

S23 = 23

§

S24 = 24

§

S25 = 25

§

S26 = 26

§

S27 = 27

§

S28 = 28

§

S29 = 29

§

S30 = 30

§

S31 = 31

§

S32 = 32

§

S33 = 33

§

S34 = 34

§

S35 = 35

§

S36 = 36

§

S37 = 37

§

S38 = 38

§

S39 = 39

§

S40 = 40

§

S41 = 41

§

S42 = 42

§

S43 = 43

§

S44 = 44

§

S45 = 45

§

S46 = 46

§

S47 = 47

§

S48 = 48

§

S49 = 49

§

S50 = 50

§

S51 = 51

§

S52 = 52

§

S53 = 53

§

S54 = 54

§

S55 = 55

§

S56 = 56

§

S57 = 57

§

S58 = 58

§

S59 = 59

§

S60 = 60

§

S61 = 61

§

S62 = 62

§

S63 = 63

§

S64 = 64

§

S65 = 65

§

S66 = 66

§

S67 = 67

§

S68 = 68

§

S69 = 69

§

S70 = 70

§

S71 = 71

§

S72 = 72

§

S73 = 73

§

S74 = 74

§

S75 = 75

§

S76 = 76

§

S77 = 77

§

S78 = 78

§

S79 = 79

§

S80 = 80

§

S81 = 81

§

S82 = 82

§

S83 = 83

§

S84 = 84

§

S85 = 85

§

S86 = 86

§

S87 = 87

§

S88 = 88

§

S89 = 89

§

S90 = 90

§

S91 = 91

§

S92 = 92

§

S93 = 93

§

S94 = 94

§

S95 = 95

§

S96 = 96

§

S97 = 97

§

S98 = 98

§

S99 = 99

Trait Implementations§

Source§

impl BitOr<CodeSegment> for ErrorStatus

Append two digits at the end in the form of a decimal literal.

Source§

type Output = i32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: CodeSegment) -> Self::Output

Performs the | operation. Read more
Source§

impl BitOr<CodeSegment> for i32

Append two digits at the end in the form of a decimal literal.

Source§

type Output = i32

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: CodeSegment) -> Self::Output

Performs the | operation. Read more
Source§

impl Clone for CodeSegment

Source§

fn clone(&self) -> CodeSegment

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CodeSegment

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<CodeSegment> for i32

Source§

fn from(value: CodeSegment) -> Self

Converts to this type from the input type.
Source§

impl From<CodeSegment> for u8

Source§

fn from(enum_value: CodeSegment) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for CodeSegment

Source§

fn eq(&self, other: &CodeSegment) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u8> for CodeSegment

Source§

type Error = TryFromPrimitiveError<CodeSegment>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u8) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for CodeSegment

Source§

impl Copy for CodeSegment

Source§

impl Eq for CodeSegment

Source§

impl StructuralPartialEq for CodeSegment

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<Data> ApiSuccessResponse for Data

Source§

fn api_response<Meta>(self, meta: Option<Meta>) -> ApiResponse<Self, Meta>

Source§

fn api_response_without_meta<Meta>(self) -> ApiResponse<Self, Meta>

Source§

fn api_response_with_meta<Meta>(self, meta: Meta) -> ApiResponse<Self, Meta>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.