pub enum ResultChunkEncoding {
Utf8,
Base64,
}Expand description
Encoding of JobResultChunkPayload::data (ARCP v1.1 §8.4).
Variants§
Utf8
Chunk payload is a UTF-8 string fragment.
Base64
Chunk payload is a base64-encoded binary fragment.
Trait Implementations§
Source§impl Clone for ResultChunkEncoding
impl Clone for ResultChunkEncoding
Source§fn clone(&self) -> ResultChunkEncoding
fn clone(&self) -> ResultChunkEncoding
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 moreSource§impl Debug for ResultChunkEncoding
impl Debug for ResultChunkEncoding
Source§impl<'de> Deserialize<'de> for ResultChunkEncoding
impl<'de> Deserialize<'de> for ResultChunkEncoding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for ResultChunkEncoding
impl Hash for ResultChunkEncoding
Source§impl PartialEq for ResultChunkEncoding
impl PartialEq for ResultChunkEncoding
Source§fn eq(&self, other: &ResultChunkEncoding) -> bool
fn eq(&self, other: &ResultChunkEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResultChunkEncoding
impl Serialize for ResultChunkEncoding
impl Copy for ResultChunkEncoding
impl Eq for ResultChunkEncoding
impl StructuralPartialEq for ResultChunkEncoding
Auto Trait Implementations§
impl Freeze for ResultChunkEncoding
impl RefUnwindSafe for ResultChunkEncoding
impl Send for ResultChunkEncoding
impl Sync for ResultChunkEncoding
impl Unpin for ResultChunkEncoding
impl UnsafeUnpin for ResultChunkEncoding
impl UnwindSafe for ResultChunkEncoding
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