Enum serde_valid::validation::Composited
source · [−]pub enum Composited<ErrorParams> {
Single(ErrorParams),
Array(Vec<Composited<ErrorParams>>),
}Variants
Single(ErrorParams)
Array(Vec<Composited<ErrorParams>>)
Trait Implementations
sourceimpl<ErrorParams: Debug> Debug for Composited<ErrorParams>
impl<ErrorParams: Debug> Debug for Composited<ErrorParams>
sourceimpl IntoError<EnumerateErrorParams> for Composited<EnumerateErrorParams>
impl IntoError<EnumerateErrorParams> for Composited<EnumerateErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &EnumerateErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<ExclusiveMaximumErrorParams> for Composited<ExclusiveMaximumErrorParams>
impl IntoError<ExclusiveMaximumErrorParams> for Composited<ExclusiveMaximumErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &ExclusiveMaximumErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<ExclusiveMinimumErrorParams> for Composited<ExclusiveMinimumErrorParams>
impl IntoError<ExclusiveMinimumErrorParams> for Composited<ExclusiveMinimumErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &ExclusiveMinimumErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MaxItemsErrorParams> for Composited<MaxItemsErrorParams>
impl IntoError<MaxItemsErrorParams> for Composited<MaxItemsErrorParams>
fn into_error_by(self, format_fn: fn(_: &MaxItemsErrorParams) -> String) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MaxLengthErrorParams> for Composited<MaxLengthErrorParams>
impl IntoError<MaxLengthErrorParams> for Composited<MaxLengthErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MaxLengthErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MaxPropertiesErrorParams> for Composited<MaxPropertiesErrorParams>
impl IntoError<MaxPropertiesErrorParams> for Composited<MaxPropertiesErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MaxPropertiesErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MaximumErrorParams> for Composited<MaximumErrorParams>
impl IntoError<MaximumErrorParams> for Composited<MaximumErrorParams>
fn into_error_by(self, format_fn: fn(_: &MaximumErrorParams) -> String) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MinItemsErrorParams> for Composited<MinItemsErrorParams>
impl IntoError<MinItemsErrorParams> for Composited<MinItemsErrorParams>
fn into_error_by(self, format_fn: fn(_: &MinItemsErrorParams) -> String) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MinLengthErrorParams> for Composited<MinLengthErrorParams>
impl IntoError<MinLengthErrorParams> for Composited<MinLengthErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MinLengthErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MinPropertiesErrorParams> for Composited<MinPropertiesErrorParams>
impl IntoError<MinPropertiesErrorParams> for Composited<MinPropertiesErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MinPropertiesErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MinimumErrorParams> for Composited<MinimumErrorParams>
impl IntoError<MinimumErrorParams> for Composited<MinimumErrorParams>
fn into_error_by(self, format_fn: fn(_: &MinimumErrorParams) -> String) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<MultipleOfErrorParams> for Composited<MultipleOfErrorParams>
impl IntoError<MultipleOfErrorParams> for Composited<MultipleOfErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &MultipleOfErrorParams) -> String
) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<PatternErrorParams> for Composited<PatternErrorParams>
impl IntoError<PatternErrorParams> for Composited<PatternErrorParams>
fn into_error_by(self, format_fn: fn(_: &PatternErrorParams) -> String) -> Error
fn into_error(self) -> Error
sourceimpl IntoError<UniqueItemsErrorParams> for Composited<UniqueItemsErrorParams>
impl IntoError<UniqueItemsErrorParams> for Composited<UniqueItemsErrorParams>
fn into_error_by(
self,
format_fn: fn(_: &UniqueItemsErrorParams) -> String
) -> Error
fn into_error(self) -> Error
Auto Trait Implementations
impl<ErrorParams> RefUnwindSafe for Composited<ErrorParams> where
ErrorParams: RefUnwindSafe,
impl<ErrorParams> Send for Composited<ErrorParams> where
ErrorParams: Send,
impl<ErrorParams> Sync for Composited<ErrorParams> where
ErrorParams: Sync,
impl<ErrorParams> Unpin for Composited<ErrorParams> where
ErrorParams: Unpin,
impl<ErrorParams> UnwindSafe for Composited<ErrorParams> where
ErrorParams: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more