pub enum ModifyDeviceCommand {
Ip(Ipv4Addr),
}Variants§
Trait Implementations§
Source§impl Apiv2Schema for ModifyDeviceCommand
impl Apiv2Schema for ModifyDeviceCommand
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 Clone for ModifyDeviceCommand
impl Clone for ModifyDeviceCommand
Source§fn clone(&self) -> ModifyDeviceCommand
fn clone(&self) -> ModifyDeviceCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModifyDeviceCommand
impl Debug for ModifyDeviceCommand
Source§impl<'de> Deserialize<'de> for ModifyDeviceCommand
impl<'de> Deserialize<'de> for ModifyDeviceCommand
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 OperationModifier for ModifyDeviceCommand
impl OperationModifier for ModifyDeviceCommand
Source§fn update_parameter(
op: &mut Operation<Parameter<DefaultSchemaRaw>, Response<DefaultSchemaRaw>>,
)
fn update_parameter( op: &mut Operation<Parameter<DefaultSchemaRaw>, Response<DefaultSchemaRaw>>, )
Update the parameters list in the given operation (if needed).
Source§fn update_response(
_op: &mut Operation<Parameter<DefaultSchemaRaw>, Response<DefaultSchemaRaw>>,
)
fn update_response( _op: &mut Operation<Parameter<DefaultSchemaRaw>, Response<DefaultSchemaRaw>>, )
Update the responses map 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 Operation<Parameter<DefaultSchemaRaw>, Response<DefaultSchemaRaw>>,
)
fn update_security( op: &mut Operation<Parameter<DefaultSchemaRaw>, Response<DefaultSchemaRaw>>, )
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 ModifyDeviceCommand
impl RefUnwindSafe for ModifyDeviceCommand
impl Send for ModifyDeviceCommand
impl Sync for ModifyDeviceCommand
impl Unpin for ModifyDeviceCommand
impl UnwindSafe for ModifyDeviceCommand
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