pub struct GetDataState {Show 43 fields
pub len: u16,
pub joint_actual_position: [f64; 6],
pub drag_status: bool,
pub actual_position: [f64; 6],
pub din: [u8; 199],
pub dout: [u8; 199],
pub ain: [f64; 128],
pub aout: [f64; 128],
pub tio_din: [u8; 8],
pub tio_dout: [u8; 8],
pub tio_ain: [f64; 2],
pub relay_io: [u8; 2],
pub mb_slave_din: [u8; 128],
pub mb_slave_dout: [u8; 128],
pub mb_slave_ain: [f64; 64],
pub mb_slave_aout: [f64; 64],
pub pn_dev_din: [u8; 64],
pub pn_dev_dout: [u8; 64],
pub pn_dev_ain: [f64; 64],
pub pn_dev_aout: [f64; 64],
pub eip_adpt_din: [u8; 64],
pub eip_adpt_dout: [u8; 64],
pub eip_adpt_ain: [f64; 48],
pub eip_adpt_aout: [f64; 48],
pub task_state: u8,
pub homed: [u8; 9],
pub task_mode: u8,
pub interp_state: u8,
pub enabled: bool,
pub paused: bool,
pub rapidrate: f64,
pub current_tool_id: u8,
pub current_user_id: u8,
pub protective_stop: u8,
pub on_soft_limit: u8,
pub emergency_stop: u8,
pub drag_near_limit: [u8; 6],
pub powered_on: u8,
pub inpos: bool,
pub executing_line: u8,
pub curr_tcp_trans_vel: f64,
pub error_code: String,
pub error_msg: String,
}Fields§
§len: u16§joint_actual_position: [f64; 6]§drag_status: bool§actual_position: [f64; 6]§din: [u8; 199]§dout: [u8; 199]§ain: [f64; 128]§aout: [f64; 128]§tio_din: [u8; 8]§tio_dout: [u8; 8]§tio_ain: [f64; 2]§relay_io: [u8; 2]§mb_slave_din: [u8; 128]§mb_slave_dout: [u8; 128]§mb_slave_ain: [f64; 64]§mb_slave_aout: [f64; 64]§pn_dev_din: [u8; 64]§pn_dev_dout: [u8; 64]§pn_dev_ain: [f64; 64]§pn_dev_aout: [f64; 64]§eip_adpt_din: [u8; 64]§eip_adpt_dout: [u8; 64]§eip_adpt_ain: [f64; 48]§eip_adpt_aout: [f64; 48]§task_state: u8§homed: [u8; 9]§task_mode: u8§interp_state: u8§enabled: bool§paused: bool§rapidrate: f64§current_tool_id: u8§current_user_id: u8§protective_stop: u8§on_soft_limit: u8§emergency_stop: u8§drag_near_limit: [u8; 6]§powered_on: u8§inpos: bool§executing_line: u8§curr_tcp_trans_vel: f64§error_code: String§error_msg: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for GetDataState
impl<'de> Deserialize<'de> for GetDataState
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
Auto Trait Implementations§
impl Freeze for GetDataState
impl RefUnwindSafe for GetDataState
impl Send for GetDataState
impl Sync for GetDataState
impl Unpin for GetDataState
impl UnwindSafe for GetDataState
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
Source§impl<X> Pipe for X
impl<X> Pipe for X
Source§fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
Source§fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
Source§fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read moreSource§fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read moreSource§fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read moreSource§fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait [DerefMut<Target = Param>]. Read moreSource§fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read moreSource§fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Return
fn pipe_borrow_mut<'a, Param, Return, Function>( &'a mut self, f: Function, ) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read moreSource§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.