pub enum Ping360Request {
MotorOff,
DeviceData,
AutoDeviceData,
SetDeviceId(SetDeviceIdStruct),
Transducer(TransducerStruct),
Reset(ResetStruct),
AutoTransmit(AutoTransmitStruct),
}Variants§
MotorOff
DeviceData
AutoDeviceData
SetDeviceId(SetDeviceIdStruct)
Transducer(TransducerStruct)
Reset(ResetStruct)
AutoTransmit(AutoTransmitStruct)
Trait Implementations§
Source§impl Apiv2Schema for Ping360Request
impl Apiv2Schema for Ping360Request
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 Ping360Request
impl Clone for Ping360Request
Source§fn clone(&self) -> Ping360Request
fn clone(&self) -> Ping360Request
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 Ping360Request
impl Debug for Ping360Request
Source§impl<'de> Deserialize<'de> for Ping360Request
impl<'de> Deserialize<'de> for Ping360Request
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 Ping360Request
impl OperationModifier for Ping360Request
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 Ping360Request
impl RefUnwindSafe for Ping360Request
impl Send for Ping360Request
impl Sync for Ping360Request
impl Unpin for Ping360Request
impl UnwindSafe for Ping360Request
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