#[non_exhaustive]pub struct ValidationFinding {
pub validation_rule_name: Option<String>,
pub message: Option<String>,
pub activity_message: Option<String>,
pub original_severity: Option<String>,
pub override_name: Option<String>,
pub override_severity: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
One validation finding on a preview.
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.validation_rule_name: Option<String>§message: Option<String>§activity_message: Option<String>§original_severity: Option<String>§override_name: Option<String>§override_severity: Option<String>§extra: HashMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for ValidationFinding
impl Clone for ValidationFinding
Source§impl Debug for ValidationFinding
impl Debug for ValidationFinding
Source§impl Default for ValidationFinding
impl Default for ValidationFinding
Source§impl<'de> Deserialize<'de> for ValidationFindingwhere
ValidationFinding: Default,
impl<'de> Deserialize<'de> for ValidationFindingwhere
ValidationFinding: Default,
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 JsonSchema for ValidationFinding
impl JsonSchema for ValidationFinding
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 ValidationFinding
impl PartialEq for ValidationFinding
Source§impl Serialize for ValidationFinding
impl Serialize for ValidationFinding
impl StructuralPartialEq for ValidationFinding
Auto Trait Implementations§
impl Freeze for ValidationFinding
impl RefUnwindSafe for ValidationFinding
impl Send for ValidationFinding
impl Sync for ValidationFinding
impl Unpin for ValidationFinding
impl UnsafeUnpin for ValidationFinding
impl UnwindSafe for ValidationFinding
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