pub struct CustomerRootBootstrapInputs {
pub app_root: PathBuf,
pub manifest_path: PathBuf,
pub enabled_modules: Vec<String>,
pub config_path: PathBuf,
pub config: PlatformConfig,
pub auth_package_name: String,
pub auth_package: LoadedAuthModelPackage,
pub translation_catalogs: Vec<TranslationCatalog>,
}Fields§
§app_root: PathBuf§manifest_path: PathBuf§enabled_modules: Vec<String>§config_path: PathBuf§config: PlatformConfig§auth_package_name: String§auth_package: LoadedAuthModelPackage§translation_catalogs: Vec<TranslationCatalog>Implementations§
Source§impl CustomerRootBootstrapInputs
impl CustomerRootBootstrapInputs
pub fn from_env() -> Result<Self, RuntimeBootstrapError>
pub fn from_paths( app_root: impl AsRef<Path>, config_path: impl AsRef<Path>, ) -> Result<Self, RuntimeBootstrapError>
Auto Trait Implementations§
impl Freeze for CustomerRootBootstrapInputs
impl RefUnwindSafe for CustomerRootBootstrapInputs
impl Send for CustomerRootBootstrapInputs
impl Sync for CustomerRootBootstrapInputs
impl Unpin for CustomerRootBootstrapInputs
impl UnsafeUnpin for CustomerRootBootstrapInputs
impl UnwindSafe for CustomerRootBootstrapInputs
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more