api_response::error_code

Struct ErrPathRoot

Source
#[non_exhaustive]
pub struct ErrPathRoot { /* private fields */ }

Implementations§

Source§

impl ErrPathRoot

Source

pub const fn name(&self) -> &'static str

Source

pub const fn flag(&self) -> u8

Source§

impl ErrPathRoot

Source

pub const fn default() -> Self

Source

pub fn path(&self) -> String

Source

pub const fn path_flag(&self) -> i32

Source

pub const fn Y00(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y01(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y02(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y03(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y04(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y05(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y06(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y07(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y08(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y09(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y10(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y11(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y12(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y13(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y14(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y15(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y16(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y17(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y18(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y19(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y20(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y21(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y22(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y23(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y24(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y25(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y26(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y27(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y28(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y29(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y30(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y31(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y32(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y33(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y34(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y35(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y36(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y37(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y38(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y39(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y40(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y41(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y42(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y43(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y44(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y45(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y46(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y47(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y48(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y49(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y50(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y51(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y52(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y53(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y54(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y55(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y56(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y57(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y58(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y59(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y60(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y61(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y62(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y63(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y64(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y65(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y66(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y67(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y68(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y69(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y70(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y71(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y72(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y73(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y74(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y75(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y76(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y77(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y78(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y79(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y80(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y81(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y82(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y83(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y84(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y85(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y86(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y87(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y88(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y89(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y90(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y91(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y92(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y93(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y94(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y95(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y96(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y97(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y98(self, name: &'static str) -> ErrPathParent

Source

pub const fn Y99(self, name: &'static str) -> ErrPathParent

Trait Implementations§

Source§

impl Clone for ErrPathRoot

Source§

fn clone(&self) -> ErrPathRoot

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 ErrPathRoot

Source§

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

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

impl Deserialize<'static> for ErrPathRoot

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'static>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for ErrPathRoot

Source§

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

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

impl Hash for ErrPathRoot

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for ErrPathRoot

Source§

fn cmp(&self, other: &ErrPathRoot) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for ErrPathRoot

Source§

fn eq(&self, other: &ErrPathRoot) -> 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 PartialOrd for ErrPathRoot

Source§

fn partial_cmp(&self, other: &ErrPathRoot) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

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

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

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

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

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

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

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

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for ErrPathRoot

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for ErrPathRoot

Source§

impl Eq for ErrPathRoot

Source§

impl StructuralPartialEq for ErrPathRoot

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 u8)

🔬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<E> IntoError for E
where E: Debug + Display,

Source§

fn into_error(self) -> ErrWrapper<Self>

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.