pub enum AssertKind {
Value,
}Expand description
kind: "assert".
Variants§
Value
The only admissible wire value.
Trait Implementations§
Source§impl Clone for AssertKind
impl Clone for AssertKind
Source§fn clone(&self) -> AssertKind
fn clone(&self) -> AssertKind
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 AssertKind
Source§impl Debug for AssertKind
impl Debug for AssertKind
Source§impl Default for AssertKind
impl Default for AssertKind
Source§fn default() -> AssertKind
fn default() -> AssertKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssertKind
impl<'de> Deserialize<'de> for AssertKind
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 AssertKind
Source§impl Hash for AssertKind
impl Hash for AssertKind
Source§impl JsonSchema for AssertKind
impl JsonSchema for AssertKind
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 AssertKind
impl Ord for AssertKind
Source§fn cmp(&self, other: &AssertKind) -> Ordering
fn cmp(&self, other: &AssertKind) -> 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 AssertKind
impl PartialEq for AssertKind
Source§impl PartialOrd for AssertKind
impl PartialOrd for AssertKind
Source§impl Serialize for AssertKind
impl Serialize for AssertKind
impl StructuralPartialEq for AssertKind
Auto Trait Implementations§
impl Freeze for AssertKind
impl RefUnwindSafe for AssertKind
impl Send for AssertKind
impl Sync for AssertKind
impl Unpin for AssertKind
impl UnsafeUnpin for AssertKind
impl UnwindSafe for AssertKind
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