pub struct ParamField {
pub name: String,
pub ty: ParamType,
}Fields§
§name: String§ty: ParamTypeTrait Implementations§
Source§impl Clone for ParamField
impl Clone for ParamField
Source§impl Debug for ParamField
impl Debug for ParamField
Source§impl<'de> Deserialize<'de> for ParamField
impl<'de> Deserialize<'de> for ParamField
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 JsonSchema for ParamField
impl JsonSchema for ParamField
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 ParamField
impl PartialEq for ParamField
Source§impl Serialize for ParamField
impl Serialize for ParamField
impl StructuralPartialEq for ParamField
Auto Trait Implementations§
impl Freeze for ParamField
impl RefUnwindSafe for ParamField
impl Send for ParamField
impl Sync for ParamField
impl Unpin for ParamField
impl UnsafeUnpin for ParamField
impl UnwindSafe for ParamField
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