#[non_exhaustive]pub struct ModPath { /* private fields */ }
Implementations§
Source§impl ModPath
impl ModPath
pub const fn mod1(&self) -> ModSection
pub const fn with_mod1(self, val: ModSection) -> Self
pub const fn mod2(&self) -> ModSection
pub const fn with_mod2(self, val: ModSection) -> Self
pub const fn mod3(&self) -> ModSection
pub const fn with_mod3(self, val: ModSection) -> Self
Source§impl ModPath
impl ModPath
pub const fn default() -> Self
pub const fn new(mod1: ModSection, mod2: ModSection, mod3: ModSection) -> Self
pub fn mod_code(&self) -> i32
pub const fn mod1_segment(&self) -> ModSegment
pub const fn mod2_segment(&self) -> ModSegment
pub const fn mod3_segment(&self) -> ModSegment
pub const fn mod1_name(&self) -> &'static str
pub const fn mod2_name(&self) -> &'static str
pub const fn mod3_name(&self) -> &'static str
Trait Implementations§
impl Copy for ModPath
impl Eq for ModPath
impl StructuralPartialEq for ModPath
Auto Trait Implementations§
impl Freeze for ModPath
impl RefUnwindSafe for ModPath
impl Send for ModPath
impl Sync for ModPath
impl Unpin for ModPath
impl UnwindSafe for ModPath
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