pub struct ExternalData {
pub header: ObjectHeader,
pub type_name: String,
pub payload: Vec<u8>,
}Expand description
Data for an external/opaque value.
Fields§
§header: ObjectHeaderObject header.
type_name: StringType name for the external value.
payload: Vec<u8>Opaque payload (serialized or boxed).
Trait Implementations§
Source§impl Clone for ExternalData
impl Clone for ExternalData
Source§fn clone(&self) -> ExternalData
fn clone(&self) -> ExternalData
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 moreAuto Trait Implementations§
impl Freeze for ExternalData
impl RefUnwindSafe for ExternalData
impl Send for ExternalData
impl Sync for ExternalData
impl Unpin for ExternalData
impl UnsafeUnpin for ExternalData
impl UnwindSafe for ExternalData
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