#[non_exhaustive]pub struct PropertyValidationExceptionProperty {
pub property_path: String,
pub reason: PropertyValidationExceptionReason,
pub message: String,
}
Expand description
Contains information about why a property is not valid.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.property_path: String
The full property path.
reason: PropertyValidationExceptionReason
Why the property is not valid.
message: String
A message describing why the property is not valid.
Implementations§
source§impl PropertyValidationExceptionProperty
impl PropertyValidationExceptionProperty
sourcepub fn property_path(&self) -> &str
pub fn property_path(&self) -> &str
The full property path.
sourcepub fn reason(&self) -> &PropertyValidationExceptionReason
pub fn reason(&self) -> &PropertyValidationExceptionReason
Why the property is not valid.
source§impl PropertyValidationExceptionProperty
impl PropertyValidationExceptionProperty
sourcepub fn builder() -> PropertyValidationExceptionPropertyBuilder
pub fn builder() -> PropertyValidationExceptionPropertyBuilder
Creates a new builder-style object to manufacture PropertyValidationExceptionProperty
.
Trait Implementations§
source§impl Clone for PropertyValidationExceptionProperty
impl Clone for PropertyValidationExceptionProperty
source§fn clone(&self) -> PropertyValidationExceptionProperty
fn clone(&self) -> PropertyValidationExceptionProperty
Returns a copy 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 PartialEq for PropertyValidationExceptionProperty
impl PartialEq for PropertyValidationExceptionProperty
source§fn eq(&self, other: &PropertyValidationExceptionProperty) -> bool
fn eq(&self, other: &PropertyValidationExceptionProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PropertyValidationExceptionProperty
Auto Trait Implementations§
impl Freeze for PropertyValidationExceptionProperty
impl RefUnwindSafe for PropertyValidationExceptionProperty
impl Send for PropertyValidationExceptionProperty
impl Sync for PropertyValidationExceptionProperty
impl Unpin for PropertyValidationExceptionProperty
impl UnwindSafe for PropertyValidationExceptionProperty
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.