pub struct StyleValidationResult {
pub strategy: StyleValidationStrategy,
pub validation_errors: Option<HashMap<PathBuf, Vec<StyleValidationError>>>,
}Expand description
The result of a style check.
Fields§
§strategy: StyleValidationStrategy§validation_errors: Option<HashMap<PathBuf, Vec<StyleValidationError>>>Trait Implementations§
Source§impl Debug for StyleValidationResult
impl Debug for StyleValidationResult
Source§impl<'de> Deserialize<'de> for StyleValidationResult
impl<'de> Deserialize<'de> for StyleValidationResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StyleValidationResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StyleValidationResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<JavaStyleValidationResult> for StyleValidationResult
impl From<JavaStyleValidationResult> for StyleValidationResult
Source§fn from(value: JavaStyleValidationResult) -> StyleValidationResult
fn from(value: JavaStyleValidationResult) -> StyleValidationResult
Converts to this type from the input type.
Source§impl JsonSchema for StyleValidationResult
impl JsonSchema for StyleValidationResult
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 StyleValidationResult
impl PartialEq for StyleValidationResult
Source§impl Serialize for StyleValidationResult
impl Serialize for StyleValidationResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for StyleValidationResult
impl StructuralPartialEq for StyleValidationResult
Auto Trait Implementations§
impl Freeze for StyleValidationResult
impl RefUnwindSafe for StyleValidationResult
impl Send for StyleValidationResult
impl Sync for StyleValidationResult
impl Unpin for StyleValidationResult
impl UnwindSafe for StyleValidationResult
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.