pub struct B64 {
pub alphabet: Alphabet,
pub padded: bool,
pub bytes: Vec<u8>,
pub noncanonical: bool,
}Expand description
Result of decoding base64 text.
Fields§
§alphabet: Alphabet§padded: boolTrue if padding was present, or none was needed.
bytes: Vec<u8>§noncanonical: boolUnused trailing bits were non-zero: valid-ish, but suspicious.
Trait Implementations§
impl Eq for B64
impl StructuralPartialEq for B64
Auto Trait Implementations§
impl Forget for B64
impl Freeze for B64
impl Move for B64
impl RefUnwindSafe for B64
impl Send for B64
impl Sync for B64
impl Unpin for B64
impl UnsafeUnpin for B64
impl UnwindSafe for B64
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