pub enum AqPayloadValue {
Raw(Vec<u8>),
Json(OsonValue),
Object {
oid: Vec<u8>,
image: Vec<u8>,
},
}Expand description
The payload value carried by a message being enqueued.
Variants§
Raw(Vec<u8>)
RAW bytes (already UTF-8 encoded if originally a string).
Json(OsonValue)
JSON value encoded as OSON.
Object
Pre-packed object image (the body produced by DbObjectImpl::pack_image).
Trait Implementations§
Source§impl Clone for AqPayloadValue
impl Clone for AqPayloadValue
Source§fn clone(&self) -> AqPayloadValue
fn clone(&self) -> AqPayloadValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AqPayloadValue
impl RefUnwindSafe for AqPayloadValue
impl Send for AqPayloadValue
impl Sync for AqPayloadValue
impl Unpin for AqPayloadValue
impl UnsafeUnpin for AqPayloadValue
impl UnwindSafe for AqPayloadValue
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