pub struct TelemetryFrame {Show 19 fields
pub ts_ms: u128,
pub robot: String,
pub profile: String,
pub battery_v: Option<f64>,
pub left_cmd: f64,
pub right_cmd: f64,
pub odometry_left: Option<f64>,
pub odometry_right: Option<f64>,
pub session_id: Option<String>,
pub deadman_ok: bool,
pub estop: bool,
pub stopped_by_deadman: bool,
pub soft_odometry_limited: bool,
pub soft_odometry_limit_m: f64,
pub speed_mode: SpeedMode,
pub max_speed: f64,
pub sensors: SensorSnapshot,
pub resource: Option<ResourceSample>,
pub source: String,
}Fields§
§ts_ms: u128§robot: String§profile: String§battery_v: Option<f64>§left_cmd: f64§right_cmd: f64§odometry_left: Option<f64>§odometry_right: Option<f64>§session_id: Option<String>§deadman_ok: bool§estop: bool§stopped_by_deadman: bool§soft_odometry_limited: bool§soft_odometry_limit_m: f64§speed_mode: SpeedMode§max_speed: f64§sensors: SensorSnapshot§resource: Option<ResourceSample>§source: StringTrait Implementations§
Source§impl Clone for TelemetryFrame
impl Clone for TelemetryFrame
Source§fn clone(&self) -> TelemetryFrame
fn clone(&self) -> TelemetryFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TelemetryFrame
impl Debug for TelemetryFrame
Source§impl<'de> Deserialize<'de> for TelemetryFrame
impl<'de> Deserialize<'de> for TelemetryFrame
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 JsonSchema for TelemetryFrame
impl JsonSchema for TelemetryFrame
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 moreAuto Trait Implementations§
impl Freeze for TelemetryFrame
impl RefUnwindSafe for TelemetryFrame
impl Send for TelemetryFrame
impl Sync for TelemetryFrame
impl Unpin for TelemetryFrame
impl UnsafeUnpin for TelemetryFrame
impl UnwindSafe for TelemetryFrame
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