Struct base64::engine::DecodeMetadata
source · pub struct DecodeMetadata {
pub(crate) decoded_len: usize,
pub(crate) padding_offset: Option<usize>,
}
Expand description
Metadata about the result of a decode operation
Fields§
§decoded_len: usize
Number of decoded bytes output
padding_offset: Option<usize>
Offset of the first padding byte in the input, if any
Implementations§
Trait Implementations§
source§impl Debug for DecodeMetadata
impl Debug for DecodeMetadata
source§impl PartialEq for DecodeMetadata
impl PartialEq for DecodeMetadata
source§fn eq(&self, other: &DecodeMetadata) -> bool
fn eq(&self, other: &DecodeMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DecodeMetadata
impl StructuralPartialEq for DecodeMetadata
Auto Trait Implementations§
impl Freeze for DecodeMetadata
impl RefUnwindSafe for DecodeMetadata
impl Send for DecodeMetadata
impl Sync for DecodeMetadata
impl Unpin for DecodeMetadata
impl UnwindSafe for DecodeMetadata
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