pub struct QualityDecision {
pub accept: bool,
pub quality: FrameQuality,
pub reason: Option<String>,
}Fields§
§accept: bool§quality: FrameQuality§reason: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for QualityDecision
impl Clone for QualityDecision
Source§fn clone(&self) -> QualityDecision
fn clone(&self) -> QualityDecision
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 QualityDecision
impl Debug for QualityDecision
impl Eq for QualityDecision
Source§impl JsonSchema for QualityDecision
impl JsonSchema for QualityDecision
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 QualityDecision
impl PartialEq for QualityDecision
Source§fn eq(&self, other: &QualityDecision) -> bool
fn eq(&self, other: &QualityDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QualityDecision
Auto Trait Implementations§
impl Freeze for QualityDecision
impl RefUnwindSafe for QualityDecision
impl Send for QualityDecision
impl Sync for QualityDecision
impl Unpin for QualityDecision
impl UnsafeUnpin for QualityDecision
impl UnwindSafe for QualityDecision
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