pub struct DATA_STREAM_DATA {
pub message_rate: u16,
pub stream_id: u8,
pub on_off: u8,
}
๐Deprecated: See
MESSAGE_INTERVAL
(Deprecated since 2015-08)Available on crate feature
cubepilot
only.Expand description
id: 67 Data stream status information.
Fieldsยง
ยงmessage_rate: u16
๐Deprecated: See
MESSAGE_INTERVAL
(Deprecated since 2015-08)The message rate
stream_id: u8
๐Deprecated: See
MESSAGE_INTERVAL
(Deprecated since 2015-08)The ID of the requested data stream
on_off: u8
๐Deprecated: See
MESSAGE_INTERVAL
(Deprecated since 2015-08)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 duplicate 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