pub struct TypeEligibility {
pub schema_type: String,
pub eligible: bool,
pub required_missing: Vec<String>,
pub recommended_missing: Vec<String>,
pub field_diagnostics: Vec<ValidationDiagnostic>,
}Expand description
Per-type eligibility breakdown.
Fields§
§schema_type: StringThe Schema.org type evaluated (e.g., "Product").
eligible: boolWhether this type passes all required checks.
required_missing: Vec<String>Required fields that are missing.
recommended_missing: Vec<String>Recommended fields that are missing.
field_diagnostics: Vec<ValidationDiagnostic>Per-field diagnostics specific to this type evaluation.
Trait Implementations§
Source§impl Clone for TypeEligibility
impl Clone for TypeEligibility
Source§fn clone(&self) -> TypeEligibility
fn clone(&self) -> TypeEligibility
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 TypeEligibility
impl Debug for TypeEligibility
Source§impl<'de> Deserialize<'de> for TypeEligibility
impl<'de> Deserialize<'de> for TypeEligibility
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
Auto Trait Implementations§
impl Freeze for TypeEligibility
impl RefUnwindSafe for TypeEligibility
impl Send for TypeEligibility
impl Sync for TypeEligibility
impl Unpin for TypeEligibility
impl UnsafeUnpin for TypeEligibility
impl UnwindSafe for TypeEligibility
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