pub struct Statustext {
pub severity: u8,
pub text: [u8; 50],
}Expand description
STATUSTEXT: a human-readable status message with a severity.
Fields§
§severity: u8§text: [u8; 50]Implementations§
Trait Implementations§
Source§impl Clone for Statustext
impl Clone for Statustext
Source§fn clone(&self) -> Statustext
fn clone(&self) -> Statustext
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 moreimpl Copy for Statustext
Source§impl Debug for Statustext
impl Debug for Statustext
Source§impl Default for Statustext
impl Default for Statustext
Source§impl Message for Statustext
impl Message for Statustext
Source§const NAME: &'static str = "STATUSTEXT"
const NAME: &'static str = "STATUSTEXT"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 83
const CRC_EXTRA: u8 = 83
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for Statustext
impl PartialEq for Statustext
Source§fn eq(&self, other: &Statustext) -> bool
fn eq(&self, other: &Statustext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Statustext
Auto Trait Implementations§
impl Freeze for Statustext
impl RefUnwindSafe for Statustext
impl Send for Statustext
impl Sync for Statustext
impl Unpin for Statustext
impl UnsafeUnpin for Statustext
impl UnwindSafe for Statustext
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