pub enum Ping1DRequest {
Show 27 variants
DeviceID,
ModeAuto,
Distance,
Profile,
SpeedOfSound,
Voltage5,
DeviceId,
FirmwareVersion,
Range,
TransmitDuration,
PingInterval,
ProcessorTemperature,
PcbTemperature,
GeneralInfo,
GainSetting,
PingEnable,
DistanceSimple,
SetDeviceId(SetDeviceIdStruct),
SetModeAuto(SetModeAutoStruct),
SetPingInterval(SetPingIntervalStruct),
SetPingEnable(SetPingEnableStruct),
SetSpeedOfSound(SetSpeedOfSoundStruct),
SetRange(SetRangeStruct),
SetGainSetting(SetGainSettingStruct),
ContinuousStart(ContinuousStartStruct),
ContinuousStop(ContinuousStopStruct),
GotoBootloader,
}Variants§
DeviceID
ModeAuto
Distance
Profile
SpeedOfSound
Voltage5
DeviceId
FirmwareVersion
Range
TransmitDuration
PingInterval
ProcessorTemperature
PcbTemperature
GeneralInfo
GainSetting
PingEnable
DistanceSimple
SetDeviceId(SetDeviceIdStruct)
SetModeAuto(SetModeAutoStruct)
SetPingInterval(SetPingIntervalStruct)
SetPingEnable(SetPingEnableStruct)
SetSpeedOfSound(SetSpeedOfSoundStruct)
SetRange(SetRangeStruct)
SetGainSetting(SetGainSettingStruct)
ContinuousStart(ContinuousStartStruct)
ContinuousStop(ContinuousStopStruct)
GotoBootloader
Trait Implementations§
Source§impl Apiv2Schema for Ping1DRequest
impl Apiv2Schema for Ping1DRequest
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 Ping1DRequest
impl Clone for Ping1DRequest
Source§fn clone(&self) -> Ping1DRequest
fn clone(&self) -> Ping1DRequest
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 Ping1DRequest
impl Debug for Ping1DRequest
Source§impl<'de> Deserialize<'de> for Ping1DRequest
impl<'de> Deserialize<'de> for Ping1DRequest
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 Ping1DRequest
impl OperationModifier for Ping1DRequest
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 Ping1DRequest
impl RefUnwindSafe for Ping1DRequest
impl Send for Ping1DRequest
impl Sync for Ping1DRequest
impl Unpin for Ping1DRequest
impl UnwindSafe for Ping1DRequest
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