pub struct CuGripperCommandPayload {
pub action: CuGripperAction,
}Expand description
Gripper command; an empty message keeps the last action.
Fields§
§action: CuGripperActionTrait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuGripperCommandPayload
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuGripperCommandPayload
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for CuGripperCommandPayload
impl Clone for CuGripperCommandPayload
Source§fn clone(&self) -> CuGripperCommandPayload
fn clone(&self) -> CuGripperCommandPayload
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 CuGripperCommandPayload
impl Debug for CuGripperCommandPayload
Source§impl<__Context> Decode<__Context> for CuGripperCommandPayload
impl<__Context> Decode<__Context> for CuGripperCommandPayload
Source§impl Default for CuGripperCommandPayload
impl Default for CuGripperCommandPayload
Source§fn default() -> CuGripperCommandPayload
fn default() -> CuGripperCommandPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CuGripperCommandPayload
impl<'de> Deserialize<'de> for CuGripperCommandPayload
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 Encode for CuGripperCommandPayload
impl Encode for CuGripperCommandPayload
Source§impl PartialEq for CuGripperCommandPayload
impl PartialEq for CuGripperCommandPayload
Source§impl Serialize for CuGripperCommandPayload
impl Serialize for CuGripperCommandPayload
impl StructuralPartialEq for CuGripperCommandPayload
Source§impl TypePath for CuGripperCommandPayload
impl TypePath for CuGripperCommandPayload
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Auto Trait Implementations§
impl Freeze for CuGripperCommandPayload
impl RefUnwindSafe for CuGripperCommandPayload
impl Send for CuGripperCommandPayload
impl Sync for CuGripperCommandPayload
impl Unpin for CuGripperCommandPayload
impl UnsafeUnpin for CuGripperCommandPayload
impl UnwindSafe for CuGripperCommandPayload
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CuMsgPayload for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more