pub struct NoContent;
Trait Implementations§
source§impl Apiv2Schema for NoContent
impl Apiv2Schema for NoContent
source§fn name() -> Option<String>
fn name() -> Option<String>
Name of this schema. This is the name to which the definition of the object is mapped.
source§fn description() -> &'static str
fn description() -> &'static str
Description of this schema. In case the trait is derived, uses the documentation on the type.
source§fn raw_schema() -> DefaultSchemaRaw
fn raw_schema() -> DefaultSchemaRaw
Returns the raw schema for this object.
source§fn schema_with_ref() -> DefaultSchemaRaw
fn schema_with_ref() -> DefaultSchemaRaw
Returns the schema with a reference (if this is an object). Read more
source§fn security_scheme() -> Option<SecurityScheme>
fn security_scheme() -> Option<SecurityScheme>
Returns the security scheme for this object.
fn header_parameter_schema() -> Vec<Parameter<DefaultSchemaRaw>>
source§impl OperationModifier for NoContent
impl OperationModifier for NoContent
source§fn update_response(op: &mut DefaultOperationRaw)
fn update_response(op: &mut DefaultOperationRaw)
Update the responses map in the given operation (if needed).
source§fn update_parameter(op: &mut DefaultOperationRaw)
fn update_parameter(op: &mut DefaultOperationRaw)
Update the parameters list in the given operation (if needed).
source§fn update_definitions(map: &mut BTreeMap<String, DefaultSchemaRaw>)
fn update_definitions(map: &mut BTreeMap<String, DefaultSchemaRaw>)
Update the definitions map (if needed).
source§fn update_security(op: &mut DefaultOperationRaw)
fn update_security(op: &mut DefaultOperationRaw)
Update the security map in the given operation (if needed).
source§fn update_security_definitions(map: &mut BTreeMap<String, SecurityScheme>)
fn update_security_definitions(map: &mut BTreeMap<String, SecurityScheme>)
Update the security definition map (if needed).
Auto Trait Implementations§
impl Freeze for NoContent
impl RefUnwindSafe for NoContent
impl Send for NoContent
impl Sync for NoContent
impl Unpin for NoContent
impl UnwindSafe for NoContent
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