pub enum ItemReadOutputEncoding {
Utf8,
Base64,
}Expand description
The item/readOutput content encoding. Closed: text media is ALWAYS utf8
and binary media base64; a third value would change the client’s decode
contract.
Variants§
Utf8
Text: content is the decoded string; ranges never split a UTF-8
sequence (the served end shrinks to the previous boundary).
Base64
Binary media: content is base64 of the stored range.
Trait Implementations§
Source§impl Clone for ItemReadOutputEncoding
impl Clone for ItemReadOutputEncoding
impl Copy for ItemReadOutputEncoding
Source§impl Debug for ItemReadOutputEncoding
impl Debug for ItemReadOutputEncoding
Source§impl<'de> Deserialize<'de> for ItemReadOutputEncoding
impl<'de> Deserialize<'de> for ItemReadOutputEncoding
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
impl Eq for ItemReadOutputEncoding
Source§impl PartialEq for ItemReadOutputEncoding
impl PartialEq for ItemReadOutputEncoding
Source§impl Serialize for ItemReadOutputEncoding
impl Serialize for ItemReadOutputEncoding
impl StructuralPartialEq for ItemReadOutputEncoding
Auto Trait Implementations§
impl Freeze for ItemReadOutputEncoding
impl RefUnwindSafe for ItemReadOutputEncoding
impl Send for ItemReadOutputEncoding
impl Sync for ItemReadOutputEncoding
impl Unpin for ItemReadOutputEncoding
impl UnsafeUnpin for ItemReadOutputEncoding
impl UnwindSafe for ItemReadOutputEncoding
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