pub struct EmptyConfiguration {}Expand description
An empty configuration that does not allow any fields.
For use in validating that a configuration is empty with Configuration::to_typed etc.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EmptyConfiguration
impl<'de> Deserialize<'de> for EmptyConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EmptyConfiguration
impl RefUnwindSafe for EmptyConfiguration
impl Send for EmptyConfiguration
impl Sync for EmptyConfiguration
impl Unpin for EmptyConfiguration
impl UnwindSafe for EmptyConfiguration
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