pub struct Normalization {
pub field: String,
pub requested: Option<Value>,
pub effective: Option<Value>,
pub reason: String,
}Expand description
One explicit normalization or fallback applied to a request.
Fields§
§field: StringJSON-style field path.
requested: Option<Value>Safe serialized requested value.
effective: Option<Value>Safe serialized effective value.
reason: StringStable normalization reason.
Trait Implementations§
Source§impl Clone for Normalization
impl Clone for Normalization
Source§fn clone(&self) -> Normalization
fn clone(&self) -> Normalization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Normalization
impl Debug for Normalization
Source§impl<'de> Deserialize<'de> for Normalization
impl<'de> Deserialize<'de> for Normalization
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
impl Eq for Normalization
Source§impl JsonSchema for Normalization
impl JsonSchema for Normalization
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Normalization
impl PartialEq for Normalization
Source§impl Serialize for Normalization
impl Serialize for Normalization
impl StructuralPartialEq for Normalization
Auto Trait Implementations§
impl Freeze for Normalization
impl RefUnwindSafe for Normalization
impl Send for Normalization
impl Sync for Normalization
impl Unpin for Normalization
impl UnsafeUnpin for Normalization
impl UnwindSafe for Normalization
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