pub struct CommandStreamState {
pub left_cmd: f64,
pub right_cmd: f64,
pub session_id: Option<String>,
pub speed_mode: SpeedMode,
pub max_speed: f64,
}Fields§
§left_cmd: f64§right_cmd: f64§session_id: Option<String>§speed_mode: SpeedMode§max_speed: f64Trait Implementations§
Source§impl Clone for CommandStreamState
impl Clone for CommandStreamState
Source§fn clone(&self) -> CommandStreamState
fn clone(&self) -> CommandStreamState
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 CommandStreamState
impl Debug for CommandStreamState
Source§impl<'de> Deserialize<'de> for CommandStreamState
impl<'de> Deserialize<'de> for CommandStreamState
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 CommandStreamState
impl JsonSchema for CommandStreamState
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 CommandStreamState
impl RefUnwindSafe for CommandStreamState
impl Send for CommandStreamState
impl Sync for CommandStreamState
impl Unpin for CommandStreamState
impl UnsafeUnpin for CommandStreamState
impl UnwindSafe for CommandStreamState
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