Struct mavlink::common::REQUEST_DATA_STREAM_DATA
source · pub struct REQUEST_DATA_STREAM_DATA {
pub req_message_rate: u16,
pub target_system: u8,
pub target_component: u8,
pub req_stream_id: u8,
pub start_stop: u8,
}
Available on crate feature
common
only.Expand description
id: 66 Request a data stream..
Fields§
§req_message_rate: u16
The requested message rate.
target_system: u8
The target requested to send the message stream..
target_component: u8
The target requested to send the message stream..
req_stream_id: u8
The ID of the requested data stream.
start_stop: u8
1 to start sending, 0 to stop sending..
Implementations§
source§impl REQUEST_DATA_STREAM_DATA
impl REQUEST_DATA_STREAM_DATA
pub const ENCODED_LEN: usize = 6usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for REQUEST_DATA_STREAM_DATA
impl Clone for REQUEST_DATA_STREAM_DATA
source§fn clone(&self) -> REQUEST_DATA_STREAM_DATA
fn clone(&self) -> REQUEST_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 REQUEST_DATA_STREAM_DATA
impl Debug for REQUEST_DATA_STREAM_DATA
source§impl Default for REQUEST_DATA_STREAM_DATA
impl Default for REQUEST_DATA_STREAM_DATA
source§impl<'de> Deserialize<'de> for REQUEST_DATA_STREAM_DATA
impl<'de> Deserialize<'de> for REQUEST_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 REQUEST_DATA_STREAM_DATA
impl MessageData for REQUEST_DATA_STREAM_DATA
const ID: u32 = 66u32
const NAME: &'static str = "REQUEST_DATA_STREAM"
const EXTRA_CRC: u8 = 148u8
const ENCODED_LEN: usize = 6usize
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 REQUEST_DATA_STREAM_DATA
impl PartialEq for REQUEST_DATA_STREAM_DATA
source§impl Serialize for REQUEST_DATA_STREAM_DATA
impl Serialize for REQUEST_DATA_STREAM_DATA
impl StructuralPartialEq for REQUEST_DATA_STREAM_DATA
Auto Trait Implementations§
impl Freeze for REQUEST_DATA_STREAM_DATA
impl RefUnwindSafe for REQUEST_DATA_STREAM_DATA
impl Send for REQUEST_DATA_STREAM_DATA
impl Sync for REQUEST_DATA_STREAM_DATA
impl Unpin for REQUEST_DATA_STREAM_DATA
impl UnwindSafe for REQUEST_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
)