pub struct TomlMarineNamedModuleConfig {
pub name: String,
pub file_name: Option<String>,
pub config: TomlMarineModuleConfig,
}
Fields
name: String
file_name: Option<String>
config: TomlMarineModuleConfig
Trait Implementations
sourceimpl Clone for TomlMarineNamedModuleConfig
impl Clone for TomlMarineNamedModuleConfig
sourcefn clone(&self) -> TomlMarineNamedModuleConfig
fn clone(&self) -> TomlMarineNamedModuleConfig
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 TomlMarineNamedModuleConfig
impl Debug for TomlMarineNamedModuleConfig
sourceimpl Default for TomlMarineNamedModuleConfig
impl Default for TomlMarineNamedModuleConfig
sourcefn default() -> TomlMarineNamedModuleConfig
fn default() -> TomlMarineNamedModuleConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for TomlMarineNamedModuleConfig
impl<'de> Deserialize<'de> for TomlMarineNamedModuleConfig
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<TomlMarineNamedModuleConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<TomlMarineNamedModuleConfig, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for TomlMarineNamedModuleConfig
impl Serialize for TomlMarineNamedModuleConfig
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 TryFrom<TomlMarineNamedModuleConfig> for ModuleDescriptor
impl TryFrom<TomlMarineNamedModuleConfig> for ModuleDescriptor
type Error = MarineError
type Error = MarineError
The type returned in the event of a conversion error.
sourcefn try_from(
config: TomlMarineNamedModuleConfig
) -> Result<ModuleDescriptor, <ModuleDescriptor as TryFrom<TomlMarineNamedModuleConfig>>::Error>
fn try_from(
config: TomlMarineNamedModuleConfig
) -> Result<ModuleDescriptor, <ModuleDescriptor as TryFrom<TomlMarineNamedModuleConfig>>::Error>
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TomlMarineNamedModuleConfig
impl Send for TomlMarineNamedModuleConfig
impl Sync for TomlMarineNamedModuleConfig
impl Unpin for TomlMarineNamedModuleConfig
impl UnwindSafe for TomlMarineNamedModuleConfig
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