Struct majordome::AppModInitOptions
source · #[non_exhaustive]pub struct AppModInitOptions<T> {
pub config: Option<T>,
pub ns: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.config: Option<T>
§ns: Option<String>
Implementations§
Trait Implementations§
source§impl<T: Default> Default for AppModInitOptions<T>
impl<T: Default> Default for AppModInitOptions<T>
source§fn default() -> AppModInitOptions<T>
fn default() -> AppModInitOptions<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for AppModInitOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for AppModInitOptions<T>where
T: RefUnwindSafe,
impl<T> Send for AppModInitOptions<T>where
T: Send,
impl<T> Sync for AppModInitOptions<T>where
T: Sync,
impl<T> Unpin for AppModInitOptions<T>where
T: Unpin,
impl<T> UnwindSafe for AppModInitOptions<T>where
T: UnwindSafe,
Blanket Implementations§
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