Struct canadensis::node::data_types::GetInfoResponse
source · [−]pub struct GetInfoResponse {
pub protocol_version: Version,
pub hardware_version: Version,
pub software_version: Version,
pub software_vcs_revision_id: u64,
pub unique_id: [u8; 16],
pub name: Vec<u8, 50_usize>,
pub software_image_crc: Vec<u64, 1_usize>,
pub certificate_of_authenticity: Vec<u8, 222_usize>,
}
Expand description
uavcan.node.GetInfo.1.0
Size ranges from 33 to 313 bytes
Fields
protocol_version: Version
uavcan.node.Version.1.0
Always aligned Size 16 bits
hardware_version: Version
uavcan.node.Version.1.0
Always aligned Size 16 bits
software_version: Version
uavcan.node.Version.1.0
Always aligned Size 16 bits
software_vcs_revision_id: u64
saturated uint64
Always aligned Size 64 bits
unique_id: [u8; 16]
saturated uint8[16]
Always aligned Size 128 bits
name: Vec<u8, 50_usize>
saturated uint8[<=50]
Always aligned Size ranges from 0 to 400 bits
software_image_crc: Vec<u64, 1_usize>
saturated uint64[<=1]
Always aligned Size ranges from 0 to 64 bits
certificate_of_authenticity: Vec<u8, 222_usize>
saturated uint8[<=222]
Always aligned Size ranges from 0 to 1776 bits
Trait Implementations
sourceimpl DataType for GetInfoResponse
impl DataType for GetInfoResponse
sourceconst EXTENT_BYTES: Option<u32>
const EXTENT_BYTES: Option<u32>
The sealed or delimited property of this type
sourceimpl Deserialize for GetInfoResponse
impl Deserialize for GetInfoResponse
sourcefn deserialize(
cursor: &mut ReadCursor<'_>
) -> Result<GetInfoResponse, DeserializeError> where
GetInfoResponse: Sized,
fn deserialize(
cursor: &mut ReadCursor<'_>
) -> Result<GetInfoResponse, DeserializeError> where
GetInfoResponse: Sized,
Deserializes a value and returns it
sourcefn deserialize_zero_copy(cursor: &mut ReadCursor<'_>) -> Self where
Self: AsBytes + FromBytes,
fn deserialize_zero_copy(cursor: &mut ReadCursor<'_>) -> Self where
Self: AsBytes + FromBytes,
Deserializes a value from a slice of bytes and returns it Read more
sourcefn deserialize_from_bytes(bytes: &[u8]) -> Result<Self, DeserializeError>
fn deserialize_from_bytes(bytes: &[u8]) -> Result<Self, DeserializeError>
A convenience function that creates a cursor around the provided bytes and calls
deserialize
Read more
sourceimpl Serialize for GetInfoResponse
impl Serialize for GetInfoResponse
impl Response for GetInfoResponse
Auto Trait Implementations
impl RefUnwindSafe for GetInfoResponse
impl Send for GetInfoResponse
impl Sync for GetInfoResponse
impl Unpin for GetInfoResponse
impl UnwindSafe for GetInfoResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more