pub struct GenExpr<Type, Op> {
pub left: Type,
pub op: Op,
pub right: Type,
}
Fields§
§left: Type
§op: Op
§right: Type
Trait Implementations§
Source§impl<'de, Type, Op> Deserialize<'de> for GenExpr<Type, Op>where
Type: Deserialize<'de>,
Op: Deserialize<'de>,
impl<'de, Type, Op> Deserialize<'de> for GenExpr<Type, Op>where
Type: Deserialize<'de>,
Op: Deserialize<'de>,
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
Source§impl<Type: JsonSchema, Op: JsonSchema> JsonSchema for GenExpr<Type, Op>
impl<Type: JsonSchema, Op: JsonSchema> JsonSchema for GenExpr<Type, Op>
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
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 is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreimpl<Type, Op> StructuralPartialEq for GenExpr<Type, Op>
Auto Trait Implementations§
impl<Type, Op> Freeze for GenExpr<Type, Op>
impl<Type, Op> RefUnwindSafe for GenExpr<Type, Op>where
Type: RefUnwindSafe,
Op: RefUnwindSafe,
impl<Type, Op> Send for GenExpr<Type, Op>
impl<Type, Op> Sync for GenExpr<Type, Op>
impl<Type, Op> Unpin for GenExpr<Type, Op>
impl<Type, Op> UnwindSafe for GenExpr<Type, Op>where
Type: UnwindSafe,
Op: UnwindSafe,
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