pub struct ErrorCodeMode {
pub intro: &'static str,
pub segment1: Option<CodeSegment>,
pub segment2: Option<CodeSegment>,
pub segment3: Option<CodeSegment>,
}Fields§
§intro: &'static str§segment1: Option<CodeSegment>§segment2: Option<CodeSegment>§segment3: Option<CodeSegment>Implementations§
Source§impl ErrorCodeMode
impl ErrorCodeMode
pub const fn new( intro: &'static str, segment1: Option<CodeSegment>, segment2: Option<CodeSegment>, segment3: Option<CodeSegment>, ) -> Self
Trait Implementations§
Source§impl Debug for ErrorCodeMode
impl Debug for ErrorCodeMode
Source§impl Display for ErrorCodeMode
impl Display for ErrorCodeMode
impl Collect for ErrorCodeMode
Auto Trait Implementations§
impl Freeze for ErrorCodeMode
impl RefUnwindSafe for ErrorCodeMode
impl Send for ErrorCodeMode
impl Sync for ErrorCodeMode
impl Unpin for ErrorCodeMode
impl UnwindSafe for ErrorCodeMode
Blanket Implementations§
Source§impl<Data> ApiSuccessResponse for Data
impl<Data> ApiSuccessResponse for Data
fn api_response<Meta>(self, meta: Option<Meta>) -> ApiResponse<Self, Meta>
fn api_response_without_meta<Meta>(self) -> ApiResponse<Self, Meta>
fn api_response_with_meta<Meta>(self, meta: Meta) -> ApiResponse<Self, Meta>
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