pub struct PostcardPayload(pub Vec<u8>);Expand description
Postcard-encoded bytes for a response payload (without schemas).
This is the format stored in the operation store. Schemas are stored separately, deduplicated by SchemaHash.
Tuple Fields§
§0: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for PostcardPayload
impl Clone for PostcardPayload
Source§fn clone(&self) -> PostcardPayload
fn clone(&self) -> PostcardPayload
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 PostcardPayload
impl RefUnwindSafe for PostcardPayload
impl Send for PostcardPayload
impl Sync for PostcardPayload
impl Unpin for PostcardPayload
impl UnsafeUnpin for PostcardPayload
impl UnwindSafe for PostcardPayload
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