pub struct OfflineTestMessage {
pub test_id: String,
pub message_type: String,
pub data: Vec<u8>,
pub checksum: u32,
pub created_at: u64,
}Expand description
Test message structure for offline storage verification
Fields§
§test_id: String§message_type: String§data: Vec<u8>§checksum: u32§created_at: u64Implementations§
Trait Implementations§
Source§impl Clone for OfflineTestMessage
impl Clone for OfflineTestMessage
Source§fn clone(&self) -> OfflineTestMessage
fn clone(&self) -> OfflineTestMessage
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 OfflineTestMessage
impl Debug for OfflineTestMessage
Source§impl<'de> Deserialize<'de> for OfflineTestMessage
impl<'de> Deserialize<'de> for OfflineTestMessage
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 OfflineTestMessage
impl RefUnwindSafe for OfflineTestMessage
impl Send for OfflineTestMessage
impl Sync for OfflineTestMessage
impl Unpin for OfflineTestMessage
impl UnwindSafe for OfflineTestMessage
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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