Struct rustdds::ros2::builtin_datatypes::Log
source · pub struct Log { /* private fields */ }
👎Deprecated since 0.8.5: Use crate ros2-client instead.
Expand description
Rosout message structure, received from RosParticipant rosout reader
Implementations§
source§impl Log
impl Log
sourcepub fn get_timestamp(&self) -> &Timestamp
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_timestamp(&self) -> &Timestamp
Timestamp when rosout message was sent
sourcepub fn get_level(&self) -> u8
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_level(&self) -> u8
Rosout level
sourcepub fn name(&self) -> &str
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn name(&self) -> &str
Name of the rosout message
sourcepub fn get_msg(&self) -> &str
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_msg(&self) -> &str
Actual message
pub fn get_file(&self) -> &str
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_function(&self) -> &str
👎Deprecated since 0.8.5: Use crate ros2-client instead.
pub fn get_line(&self) -> u32
👎Deprecated since 0.8.5: Use crate ros2-client instead.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Log
impl<'de> Deserialize<'de> for Log
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 Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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