pub struct ExplanationTruncation {
pub candidates: bool,
pub relations: bool,
pub content: bool,
}Expand description
Independent reasons that a bounded explanation may omit material.
Fields§
§candidates: boolCollection hit its matching-owner budget.
relations: boolRelation traversal hit its edge or depth budget.
content: boolSome selected body, details or previews were omitted by the copy budget.
Trait Implementations§
Source§impl Clone for ExplanationTruncation
impl Clone for ExplanationTruncation
Source§fn clone(&self) -> ExplanationTruncation
fn clone(&self) -> ExplanationTruncation
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 moreimpl Copy for ExplanationTruncation
Source§impl Debug for ExplanationTruncation
impl Debug for ExplanationTruncation
Source§impl Default for ExplanationTruncation
impl Default for ExplanationTruncation
Source§fn default() -> ExplanationTruncation
fn default() -> ExplanationTruncation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExplanationTruncation
impl<'de> Deserialize<'de> for ExplanationTruncation
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 ExplanationTruncation
Source§impl JsonSchema for ExplanationTruncation
impl JsonSchema for ExplanationTruncation
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 ExplanationTruncation
impl PartialEq for ExplanationTruncation
Source§impl Serialize for ExplanationTruncation
impl Serialize for ExplanationTruncation
impl StructuralPartialEq for ExplanationTruncation
Auto Trait Implementations§
impl Freeze for ExplanationTruncation
impl RefUnwindSafe for ExplanationTruncation
impl Send for ExplanationTruncation
impl Sync for ExplanationTruncation
impl Unpin for ExplanationTruncation
impl UnsafeUnpin for ExplanationTruncation
impl UnwindSafe for ExplanationTruncation
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