pub struct DataBox {
pub data: Vec<u8>,
pub data_type: DataType,
}
Fields§
§data: Vec<u8>
§data_type: DataType
Implementations§
Trait Implementations§
source§impl PartialEq for DataBox
impl PartialEq for DataBox
impl Eq for DataBox
impl StructuralPartialEq for DataBox
Auto Trait Implementations§
impl Freeze for DataBox
impl RefUnwindSafe for DataBox
impl Send for DataBox
impl Sync for DataBox
impl Unpin for DataBox
impl UnwindSafe for DataBox
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