pub struct EmptyParams {}Expand description
Convenience type for tools that take no parameters.
Trait Implementations§
Source§impl Clone for EmptyParams
impl Clone for EmptyParams
Source§impl Debug for EmptyParams
impl Debug for EmptyParams
Source§impl Default for EmptyParams
impl Default for EmptyParams
Source§impl<'de> Deserialize<'de> for EmptyParams
impl<'de> Deserialize<'de> for EmptyParams
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 EmptyParams
Source§impl JsonSchema for EmptyParams
impl JsonSchema for EmptyParams
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 EmptyParams
impl PartialEq for EmptyParams
Source§impl Serialize for EmptyParams
impl Serialize for EmptyParams
impl StructuralPartialEq for EmptyParams
Auto Trait Implementations§
impl Freeze for EmptyParams
impl RefUnwindSafe for EmptyParams
impl Send for EmptyParams
impl Sync for EmptyParams
impl Unpin for EmptyParams
impl UnsafeUnpin for EmptyParams
impl UnwindSafe for EmptyParams
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