Struct bluerobotics_ping::common::NackStruct
source · pub struct NackStruct {
pub nacked_id: u16,
pub nack_message: String,
}Expand description
Not acknowledged.
Fields§
§nacked_id: u16The message ID that is Not ACKnowledged.
nack_message: StringASCII text message indicating NACK condition. (not necessarily NULL terminated)
Trait Implementations§
source§impl Clone for NackStruct
impl Clone for NackStruct
source§fn clone(&self) -> NackStruct
fn clone(&self) -> NackStruct
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 NackStruct
impl Debug for NackStruct
source§impl Default for NackStruct
impl Default for NackStruct
source§fn default() -> NackStruct
fn default() -> NackStruct
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NackStruct
impl<'de> Deserialize<'de> for NackStruct
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 DeserializePayload for NackStruct
impl DeserializePayload for NackStruct
fn deserialize(payload: &[u8]) -> Self
source§impl MessageInfo for NackStruct
impl MessageInfo for NackStruct
source§impl PartialEq for NackStruct
impl PartialEq for NackStruct
source§fn eq(&self, other: &NackStruct) -> bool
fn eq(&self, other: &NackStruct) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NackStruct
impl Serialize for NackStruct
source§impl SerializePayload for NackStruct
impl SerializePayload for NackStruct
impl StructuralPartialEq for NackStruct
Auto Trait Implementations§
impl Freeze for NackStruct
impl RefUnwindSafe for NackStruct
impl Send for NackStruct
impl Sync for NackStruct
impl Unpin for NackStruct
impl UnwindSafe for NackStruct
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