pub enum QueueContentType {
Json,
Text,
V8,
}
Variants§
Json
Send a JavaScript object that can be JSON-serialized. This content type can be previewed from the Cloudflare dashboard.
Text
Send a String. This content type can be previewed with the List messages from the dashboard feature.
V8
Send a JavaScript object that cannot be JSON-serialized but is supported by structured clone (for example Date and Map). This content type cannot be previewed from the Cloudflare dashboard and will display as Base64-encoded.
Trait Implementations§
Source§impl Clone for QueueContentType
impl Clone for QueueContentType
Source§fn clone(&self) -> QueueContentType
fn clone(&self) -> QueueContentType
Returns a copy 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 QueueContentType
impl Debug for QueueContentType
Source§impl Serialize for QueueContentType
impl Serialize for QueueContentType
impl Copy for QueueContentType
Auto Trait Implementations§
impl Freeze for QueueContentType
impl RefUnwindSafe for QueueContentType
impl Send for QueueContentType
impl Sync for QueueContentType
impl Unpin for QueueContentType
impl UnwindSafe for QueueContentType
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