pub struct ValidationProblemDetailsInner {
pub path: Option<String>,
pub message: Option<String>,
}Expand description
ValidationProblemDetailsInner : A specific validation error on a json property
Fields§
§path: Option<String>The json path of the property which failed validation
message: Option<String>User friendly error message about the validation
Implementations§
Source§impl ValidationProblemDetailsInner
impl ValidationProblemDetailsInner
Sourcepub fn new() -> ValidationProblemDetailsInner
pub fn new() -> ValidationProblemDetailsInner
A specific validation error on a json property
Trait Implementations§
Source§impl Clone for ValidationProblemDetailsInner
impl Clone for ValidationProblemDetailsInner
Source§fn clone(&self) -> ValidationProblemDetailsInner
fn clone(&self) -> ValidationProblemDetailsInner
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 Default for ValidationProblemDetailsInner
impl Default for ValidationProblemDetailsInner
Source§fn default() -> ValidationProblemDetailsInner
fn default() -> ValidationProblemDetailsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidationProblemDetailsInner
impl<'de> Deserialize<'de> for ValidationProblemDetailsInner
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 ValidationProblemDetailsInner
impl PartialEq for ValidationProblemDetailsInner
Source§fn eq(&self, other: &ValidationProblemDetailsInner) -> bool
fn eq(&self, other: &ValidationProblemDetailsInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValidationProblemDetailsInner
Auto Trait Implementations§
impl Freeze for ValidationProblemDetailsInner
impl RefUnwindSafe for ValidationProblemDetailsInner
impl Send for ValidationProblemDetailsInner
impl Sync for ValidationProblemDetailsInner
impl Unpin for ValidationProblemDetailsInner
impl UnwindSafe for ValidationProblemDetailsInner
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