pub struct OperationSupport {
pub operation: Operation,
pub output: OutputKind,
pub max_options: u64,
pub isolation: Option<Isolation>,
pub screen: Option<ScreenProfile>,
}Fields§
§operation: Operation§output: OutputKind§max_options: u64The most options, levels or candidates one request may carry.
isolation: Option<Isolation>§screen: Option<ScreenProfile>Implementations§
Source§impl OperationSupport
impl OperationSupport
Sourcepub fn satisfies_screen_verdict(&self) -> bool
pub fn satisfies_screen_verdict(&self) -> bool
Screening has its own required kind and is never coerced to a label.
Trait Implementations§
Source§impl Clone for OperationSupport
impl Clone for OperationSupport
Source§impl Debug for OperationSupport
impl Debug for OperationSupport
Source§impl<'de> Deserialize<'de> for OperationSupport
impl<'de> Deserialize<'de> for OperationSupport
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 OperationSupport
Source§impl JsonSchema for OperationSupport
impl JsonSchema for OperationSupport
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 OperationSupport
impl PartialEq for OperationSupport
Source§impl Serialize for OperationSupport
impl Serialize for OperationSupport
impl StructuralPartialEq for OperationSupport
Auto Trait Implementations§
impl Freeze for OperationSupport
impl RefUnwindSafe for OperationSupport
impl Send for OperationSupport
impl Sync for OperationSupport
impl Unpin for OperationSupport
impl UnsafeUnpin for OperationSupport
impl UnwindSafe for OperationSupport
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