pub struct KeyDef {
pub key: &'static str,
pub validator: Option<fn(&str) -> Result<(), ConfigValidationError>>,
}Fields§
§key: &'static str§validator: Option<fn(&str) -> Result<(), ConfigValidationError>>Auto Trait Implementations§
impl Freeze for KeyDef
impl RefUnwindSafe for KeyDef
impl Send for KeyDef
impl Sync for KeyDef
impl Unpin for KeyDef
impl UnwindSafe for KeyDef
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