pub struct TomlFile(pub String);Expand description
A wrapper for TOML configuration file paths.
This wrapper ensures type safety when specifying paths to TOML configuration files used in infrastructure definitions.
§Recommended Usage
Use the toml_file! macro from rusty-cdk-macros for compile-time validation:
Tuple Fields§
§0: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for TomlFile
impl RefUnwindSafe for TomlFile
impl Send for TomlFile
impl Sync for TomlFile
impl Unpin for TomlFile
impl UnwindSafe for TomlFile
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