pub struct ExcludedModel {
pub model: String,
pub reason: String,
}Expand description
One model that did not qualify, and exactly why.
Fields§
§model: StringThe canonical id.
reason: StringThe first reason it fell out, in the order the checks run.
Trait Implementations§
Source§impl Clone for ExcludedModel
impl Clone for ExcludedModel
Source§fn clone(&self) -> ExcludedModel
fn clone(&self) -> ExcludedModel
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 ExcludedModel
impl Debug for ExcludedModel
Source§impl<'de> Deserialize<'de> for ExcludedModel
impl<'de> Deserialize<'de> for ExcludedModel
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 ExcludedModel
impl JsonSchema for ExcludedModel
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 moreAuto Trait Implementations§
impl Freeze for ExcludedModel
impl RefUnwindSafe for ExcludedModel
impl Send for ExcludedModel
impl Sync for ExcludedModel
impl Unpin for ExcludedModel
impl UnsafeUnpin for ExcludedModel
impl UnwindSafe for ExcludedModel
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