Struct marine_rs_sdk_test::internal::TomlAppServiceConfig
source · [−]pub struct TomlAppServiceConfig {
pub service_base_dir: Option<String>,
pub toml_marine_config: TomlMarineConfig,
}
Fields
service_base_dir: Option<String>
toml_marine_config: TomlMarineConfig
Implementations
sourceimpl TomlAppServiceConfig
impl TomlAppServiceConfig
sourcepub fn load<P>(path: P) -> Result<TomlAppServiceConfig, AppServiceError> where
P: Into<PathBuf>,
pub fn load<P>(path: P) -> Result<TomlAppServiceConfig, AppServiceError> where
P: Into<PathBuf>,
Load config from filesystem.
Trait Implementations
sourceimpl Clone for TomlAppServiceConfig
impl Clone for TomlAppServiceConfig
sourcefn clone(&self) -> TomlAppServiceConfig
fn clone(&self) -> TomlAppServiceConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TomlAppServiceConfig
impl Debug for TomlAppServiceConfig
sourceimpl Default for TomlAppServiceConfig
impl Default for TomlAppServiceConfig
sourcefn default() -> TomlAppServiceConfig
fn default() -> TomlAppServiceConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TomlAppServiceConfig
impl<'de> Deserialize<'de> for TomlAppServiceConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<TomlAppServiceConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TomlAppServiceConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for TomlAppServiceConfig
impl Serialize for TomlAppServiceConfig
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
sourceimpl TryInto<AppServiceConfig> for TomlAppServiceConfig
impl TryInto<AppServiceConfig> for TomlAppServiceConfig
type Error = AppServiceError
type Error = AppServiceError
The type returned in the event of a conversion error.
sourcefn try_into(self) -> Result<AppServiceConfig, AppServiceError>
fn try_into(self) -> Result<AppServiceConfig, AppServiceError>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TomlAppServiceConfig
impl Send for TomlAppServiceConfig
impl Sync for TomlAppServiceConfig
impl Unpin for TomlAppServiceConfig
impl UnwindSafe for TomlAppServiceConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more