Struct mavlink::common::DATA_STREAM_DATA
source · pub struct DATA_STREAM_DATA {
pub message_rate: u16,
pub stream_id: u8,
pub on_off: u8,
}
Available on crate feature
common
only.Expand description
id: 67 Data stream status information..
Fields§
§message_rate: u16
The message rate.
stream_id: u8
The ID of the requested data stream.
on_off: u8
1 stream is enabled, 0 stream is stopped..
Implementations§
source§impl DATA_STREAM_DATA
impl DATA_STREAM_DATA
pub const ENCODED_LEN: usize = 4usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for DATA_STREAM_DATA
impl Clone for DATA_STREAM_DATA
source§fn clone(&self) -> DATA_STREAM_DATA
fn clone(&self) -> DATA_STREAM_DATA
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 DATA_STREAM_DATA
impl Debug for DATA_STREAM_DATA
source§impl Default for DATA_STREAM_DATA
impl Default for DATA_STREAM_DATA
source§impl<'de> Deserialize<'de> for DATA_STREAM_DATA
impl<'de> Deserialize<'de> for DATA_STREAM_DATA
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 MessageData for DATA_STREAM_DATA
impl MessageData for DATA_STREAM_DATA
const ID: u32 = 67u32
const NAME: &'static str = "DATA_STREAM"
const EXTRA_CRC: u8 = 21u8
const ENCODED_LEN: usize = 4usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for DATA_STREAM_DATA
impl PartialEq for DATA_STREAM_DATA
source§impl Serialize for DATA_STREAM_DATA
impl Serialize for DATA_STREAM_DATA
impl StructuralPartialEq for DATA_STREAM_DATA
Auto Trait Implementations§
impl Freeze for DATA_STREAM_DATA
impl RefUnwindSafe for DATA_STREAM_DATA
impl Send for DATA_STREAM_DATA
impl Sync for DATA_STREAM_DATA
impl Unpin for DATA_STREAM_DATA
impl UnwindSafe for DATA_STREAM_DATA
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
)