pub struct SettingsWithErrors {
pub settings: Value,
pub errors: Vec<ValidationError>,
}Expand description
Validated settings with any accumulated errors.
Fields§
§settings: Value§errors: Vec<ValidationError>Trait Implementations§
Source§impl Clone for SettingsWithErrors
impl Clone for SettingsWithErrors
Source§fn clone(&self) -> SettingsWithErrors
fn clone(&self) -> SettingsWithErrors
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SettingsWithErrors
impl Debug for SettingsWithErrors
Source§impl Default for SettingsWithErrors
impl Default for SettingsWithErrors
Source§fn default() -> SettingsWithErrors
fn default() -> SettingsWithErrors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SettingsWithErrors
impl<'de> Deserialize<'de> for SettingsWithErrors
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
Source§impl PartialEq for SettingsWithErrors
impl PartialEq for SettingsWithErrors
Source§impl Serialize for SettingsWithErrors
impl Serialize for SettingsWithErrors
impl StructuralPartialEq for SettingsWithErrors
Auto Trait Implementations§
impl Freeze for SettingsWithErrors
impl RefUnwindSafe for SettingsWithErrors
impl Send for SettingsWithErrors
impl Sync for SettingsWithErrors
impl Unpin for SettingsWithErrors
impl UnsafeUnpin for SettingsWithErrors
impl UnwindSafe for SettingsWithErrors
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