pub struct StringByteBase64Decoder;Expand description
Convert strings to byte arrays by decoding BASE-64 encoded strings
Trait Implementations§
Source§impl<'de> StringByteDecoder<'de> for StringByteBase64Decoder
impl<'de> StringByteDecoder<'de> for StringByteBase64Decoder
Source§fn decode_string_to_bytes(de: &mut Deserializer<'de, Self>) -> Result<&'de [u8]>
fn decode_string_to_bytes(de: &mut Deserializer<'de, Self>) -> Result<&'de [u8]>
Should decode bytes from the JSON string after the opening
b'"'
has been consumed and until the closing b'"' is found in the input slice. Read moreAuto Trait Implementations§
impl Freeze for StringByteBase64Decoder
impl RefUnwindSafe for StringByteBase64Decoder
impl Send for StringByteBase64Decoder
impl Sync for StringByteBase64Decoder
impl Unpin for StringByteBase64Decoder
impl UnwindSafe for StringByteBase64Decoder
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