Struct r2r::lifecycle_msgs::msg::Transition
source · pub struct Transition {
pub id: u8,
pub label: String,
}
Fields§
§id: u8
§label: String
Implementations§
source§impl Transition
impl Transition
pub const TRANSITION_ACTIVATE: _bindgen_ty_53 = lifecycle_msgs__msg__Transition__TRANSITION_ACTIVATE
pub const TRANSITION_ACTIVE_SHUTDOWN: _bindgen_ty_57 = lifecycle_msgs__msg__Transition__TRANSITION_ACTIVE_SHUTDOWN
pub const TRANSITION_CALLBACK_ERROR: _bindgen_ty_79 = lifecycle_msgs__msg__Transition__TRANSITION_CALLBACK_ERROR
pub const TRANSITION_CALLBACK_FAILURE: _bindgen_ty_78 = lifecycle_msgs__msg__Transition__TRANSITION_CALLBACK_FAILURE
pub const TRANSITION_CALLBACK_SUCCESS: _bindgen_ty_77 = lifecycle_msgs__msg__Transition__TRANSITION_CALLBACK_SUCCESS
pub const TRANSITION_CLEANUP: _bindgen_ty_52 = lifecycle_msgs__msg__Transition__TRANSITION_CLEANUP
pub const TRANSITION_CONFIGURE: _bindgen_ty_51 = lifecycle_msgs__msg__Transition__TRANSITION_CONFIGURE
pub const TRANSITION_CREATE: _bindgen_ty_50 = lifecycle_msgs__msg__Transition__TRANSITION_CREATE
pub const TRANSITION_DEACTIVATE: _bindgen_ty_54 = lifecycle_msgs__msg__Transition__TRANSITION_DEACTIVATE
pub const TRANSITION_DESTROY: _bindgen_ty_58 = lifecycle_msgs__msg__Transition__TRANSITION_DESTROY
pub const TRANSITION_INACTIVE_SHUTDOWN: _bindgen_ty_56 = lifecycle_msgs__msg__Transition__TRANSITION_INACTIVE_SHUTDOWN
pub const TRANSITION_ON_ACTIVATE_ERROR: _bindgen_ty_67 = lifecycle_msgs__msg__Transition__TRANSITION_ON_ACTIVATE_ERROR
pub const TRANSITION_ON_ACTIVATE_FAILURE: _bindgen_ty_66 = lifecycle_msgs__msg__Transition__TRANSITION_ON_ACTIVATE_FAILURE
pub const TRANSITION_ON_ACTIVATE_SUCCESS: _bindgen_ty_65 = lifecycle_msgs__msg__Transition__TRANSITION_ON_ACTIVATE_SUCCESS
pub const TRANSITION_ON_CLEANUP_ERROR: _bindgen_ty_64 = lifecycle_msgs__msg__Transition__TRANSITION_ON_CLEANUP_ERROR
pub const TRANSITION_ON_CLEANUP_FAILURE: _bindgen_ty_63 = lifecycle_msgs__msg__Transition__TRANSITION_ON_CLEANUP_FAILURE
pub const TRANSITION_ON_CLEANUP_SUCCESS: _bindgen_ty_62 = lifecycle_msgs__msg__Transition__TRANSITION_ON_CLEANUP_SUCCESS
pub const TRANSITION_ON_CONFIGURE_ERROR: _bindgen_ty_61 = lifecycle_msgs__msg__Transition__TRANSITION_ON_CONFIGURE_ERROR
pub const TRANSITION_ON_CONFIGURE_FAILURE: _bindgen_ty_60 = lifecycle_msgs__msg__Transition__TRANSITION_ON_CONFIGURE_FAILURE
pub const TRANSITION_ON_CONFIGURE_SUCCESS: _bindgen_ty_59 = lifecycle_msgs__msg__Transition__TRANSITION_ON_CONFIGURE_SUCCESS
pub const TRANSITION_ON_DEACTIVATE_ERROR: _bindgen_ty_70 = lifecycle_msgs__msg__Transition__TRANSITION_ON_DEACTIVATE_ERROR
pub const TRANSITION_ON_DEACTIVATE_FAILURE: _bindgen_ty_69 = lifecycle_msgs__msg__Transition__TRANSITION_ON_DEACTIVATE_FAILURE
pub const TRANSITION_ON_DEACTIVATE_SUCCESS: _bindgen_ty_68 = lifecycle_msgs__msg__Transition__TRANSITION_ON_DEACTIVATE_SUCCESS
pub const TRANSITION_ON_ERROR_ERROR: _bindgen_ty_76 = lifecycle_msgs__msg__Transition__TRANSITION_ON_ERROR_ERROR
pub const TRANSITION_ON_ERROR_FAILURE: _bindgen_ty_75 = lifecycle_msgs__msg__Transition__TRANSITION_ON_ERROR_FAILURE
pub const TRANSITION_ON_ERROR_SUCCESS: _bindgen_ty_74 = lifecycle_msgs__msg__Transition__TRANSITION_ON_ERROR_SUCCESS
pub const TRANSITION_ON_SHUTDOWN_ERROR: _bindgen_ty_73 = lifecycle_msgs__msg__Transition__TRANSITION_ON_SHUTDOWN_ERROR
pub const TRANSITION_ON_SHUTDOWN_FAILURE: _bindgen_ty_72 = lifecycle_msgs__msg__Transition__TRANSITION_ON_SHUTDOWN_FAILURE
pub const TRANSITION_ON_SHUTDOWN_SUCCESS: _bindgen_ty_71 = lifecycle_msgs__msg__Transition__TRANSITION_ON_SHUTDOWN_SUCCESS
pub const TRANSITION_UNCONFIGURED_SHUTDOWN: _bindgen_ty_55 = lifecycle_msgs__msg__Transition__TRANSITION_UNCONFIGURED_SHUTDOWN
Trait Implementations§
source§impl Clone for Transition
impl Clone for Transition
source§fn clone(&self) -> Transition
fn clone(&self) -> Transition
Returns a copy 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 Transition
impl Debug for Transition
source§impl Default for Transition
impl Default for Transition
source§impl<'de> Deserialize<'de> for Transitionwhere
Transition: Default,
impl<'de> Deserialize<'de> for Transitionwhere
Transition: Default,
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 PartialEq for Transition
impl PartialEq for Transition
source§impl Serialize for Transition
impl Serialize for Transition
source§impl WrappedTypesupport for Transition
impl WrappedTypesupport for Transition
type CStruct = lifecycle_msgs__msg__Transition
fn get_ts() -> &'static rosidl_message_type_support_t
fn create_msg() -> *mut lifecycle_msgs__msg__Transition
fn destroy_msg(msg: *mut lifecycle_msgs__msg__Transition)
fn from_native(msg: &Self::CStruct) -> Transition
fn copy_to_native(&self, msg: &mut Self::CStruct)
source§fn to_serialized_bytes(&self) -> Result<Vec<u8>>
fn to_serialized_bytes(&self) -> Result<Vec<u8>>
This serializes the message using ROS2 methods.
source§fn from_serialized_bytes(data: &[u8]) -> Result<Self>
fn from_serialized_bytes(data: &[u8]) -> Result<Self>
This deserializes the message using ROS2 methods.
impl StructuralPartialEq for Transition
Auto Trait Implementations§
impl Freeze for Transition
impl RefUnwindSafe for Transition
impl Send for Transition
impl Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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