pub enum OnMissingInput {
Value,
}Expand description
onMissingInput: "unknown" — principle 4 typed: an assertion whose
input is missing yields unknown, never a guess.
Variants§
Value
The only admissible wire value.
Trait Implementations§
Source§impl Clone for OnMissingInput
impl Clone for OnMissingInput
Source§fn clone(&self) -> OnMissingInput
fn clone(&self) -> OnMissingInput
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 OnMissingInput
Source§impl Debug for OnMissingInput
impl Debug for OnMissingInput
Source§impl Default for OnMissingInput
impl Default for OnMissingInput
Source§fn default() -> OnMissingInput
fn default() -> OnMissingInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnMissingInput
impl<'de> Deserialize<'de> for OnMissingInput
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 OnMissingInput
Source§impl Hash for OnMissingInput
impl Hash for OnMissingInput
Source§impl JsonSchema for OnMissingInput
impl JsonSchema for OnMissingInput
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 Ord for OnMissingInput
impl Ord for OnMissingInput
Source§fn cmp(&self, other: &OnMissingInput) -> Ordering
fn cmp(&self, other: &OnMissingInput) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OnMissingInput
impl PartialEq for OnMissingInput
Source§impl PartialOrd for OnMissingInput
impl PartialOrd for OnMissingInput
Source§impl Serialize for OnMissingInput
impl Serialize for OnMissingInput
impl StructuralPartialEq for OnMissingInput
Auto Trait Implementations§
impl Freeze for OnMissingInput
impl RefUnwindSafe for OnMissingInput
impl Send for OnMissingInput
impl Sync for OnMissingInput
impl Unpin for OnMissingInput
impl UnsafeUnpin for OnMissingInput
impl UnwindSafe for OnMissingInput
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