Skip to main content

ValidationMessageLocale

Struct ValidationMessageLocale 

Source
pub struct ValidationMessageLocale {
Show 53 fields pub w001: String, pub w002: String, pub w003: String, pub w004: String, pub w005: String, pub w006: String, pub w007: String, pub w008: String, pub w009: String, pub w010: String, pub w011: String, pub w012: String, pub w013: String, pub w014: String, pub w015: String, pub w016: String, pub w017: String, pub w018: String, pub w019: String, pub w020: String, pub w021: String, pub w022: String, pub w023: String, pub w024: String, pub w025: String, pub w026: String, pub w027: String, pub w028: String, pub w029: String, pub w030: String, pub w031: String, pub w032: String, pub w033: String, pub w034: String, pub w035: String, pub w036: String, pub w037: String, pub w038: String, pub w039: String, pub w040: String, pub w041: String, pub w042: String, pub w043: String, pub w044: String, pub w045: String, pub w046: String, pub w047: String, pub e001: String, pub e002: String, pub e003: String, pub e004: String, pub e005: String, pub e006: String,
}
Expand description

Validation message translations keyed by code (W001–W046, E001–E006). Messages may contain {0}, {1}, … placeholders for dynamic values.

Fields§

§w001: String§w002: String§w003: String§w004: String§w005: String§w006: String§w007: String§w008: String§w009: String§w010: String§w011: String§w012: String§w013: String§w014: String§w015: String§w016: String§w017: String§w018: String§w019: String§w020: String§w021: String§w022: String§w023: String§w024: String§w025: String§w026: String§w027: String§w028: String§w029: String§w030: String§w031: String§w032: String§w033: String§w034: String§w035: String§w036: String§w037: String§w038: String§w039: String§w040: String§w041: String§w042: String§w043: String§w044: String§w045: String§w046: String§w047: String§e001: String§e002: String§e003: String§e004: String§e005: String§e006: String

Trait Implementations§

Source§

impl Clone for ValidationMessageLocale

Source§

fn clone(&self) -> ValidationMessageLocale

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ValidationMessageLocale

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ValidationMessageLocale

Source§

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 ValidationMessageLocale

Source§

fn eq(&self, other: &ValidationMessageLocale) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for ValidationMessageLocale

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for ValidationMessageLocale

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,