pub struct AddressConfigValidator;
Expand description
Custom AddressConfig
validator.
Trait Implementations§
Source§impl From<<AddressConfigValidator as Validate<AddressConfig>>::Error> for AddressConfigValidationError
impl From<<AddressConfigValidator as Validate<AddressConfig>>::Error> for AddressConfigValidationError
Source§fn from(src: <AddressConfigValidator as Validate<AddressConfig>>::Error) -> Self
fn from(src: <AddressConfigValidator as Validate<AddressConfig>>::Error) -> Self
Converts to this type from the input type.
Source§impl Validate<AddressConfig> for AddressConfigValidator
impl Validate<AddressConfig> for AddressConfigValidator
type Error = AddressConfigCustomValidationError
fn validate(_: &AddressConfig) -> Result<(), Self::Error>
Auto Trait Implementations§
impl Freeze for AddressConfigValidator
impl RefUnwindSafe for AddressConfigValidator
impl Send for AddressConfigValidator
impl Sync for AddressConfigValidator
impl Unpin for AddressConfigValidator
impl UnwindSafe for AddressConfigValidator
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