pub struct Base64StringFactory { /* private fields */ }
Implementations§
Source§impl Base64StringFactory
impl Base64StringFactory
pub fn new(url_safe: bool, padding: bool) -> Self
pub fn encode_from_string(self, input: &str) -> Base64String
pub fn encode_from_bytes(self, input: &[u8]) -> Base64String
pub fn encode_with_endian_from_bigint( self, input: &BigInt, endian: Endian, ) -> Base64String
Trait Implementations§
Source§impl Clone for Base64StringFactory
impl Clone for Base64StringFactory
Source§fn clone(&self) -> Base64StringFactory
fn clone(&self) -> Base64StringFactory
Returns a duplicate of the value. Read more
1.0.0 · 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 Base64StringFactory
impl Debug for Base64StringFactory
Auto Trait Implementations§
impl Freeze for Base64StringFactory
impl RefUnwindSafe for Base64StringFactory
impl Send for Base64StringFactory
impl Sync for Base64StringFactory
impl Unpin for Base64StringFactory
impl UnwindSafe for Base64StringFactory
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