pub struct MaDataPayload {
pub kind: String,
pub message_type: String,
pub encoded: Vec<u8>,
pub originator_uuid: String,
pub rx_payload_id: String,
pub command_id: String,
pub destination_routing: String,
}Expand description
rustdds / CDR representation of DdsSample.
Fields§
§kind: String§message_type: String§encoded: Vec<u8>§originator_uuid: String§rx_payload_id: String§command_id: String§destination_routing: StringImplementations§
Source§impl MaDataPayload
impl MaDataPayload
pub fn from_sample(sample: &DdsSample) -> Self
Trait Implementations§
Source§impl Clone for MaDataPayload
impl Clone for MaDataPayload
Source§fn clone(&self) -> MaDataPayload
fn clone(&self) -> MaDataPayload
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 MaDataPayload
impl Debug for MaDataPayload
Source§impl<'de> Deserialize<'de> for MaDataPayload
impl<'de> Deserialize<'de> for MaDataPayload
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
Auto Trait Implementations§
impl Freeze for MaDataPayload
impl RefUnwindSafe for MaDataPayload
impl Send for MaDataPayload
impl Sync for MaDataPayload
impl Unpin for MaDataPayload
impl UnwindSafe for MaDataPayload
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