pub struct StdAddrFormat {
pub allow_raw: bool,
pub allow_base64: bool,
pub allow_base64_url: bool,
}Expand description
Parsing options for StdAddr::from_str_ext
Fields§
§allow_raw: boolAllow raw address (0:000…000).
allow_base64: boolAllow base64-encoded address.
allow_base64_url: boolAllow URL-safe base64 encoding.
Implementations§
Source§impl StdAddrFormat
impl StdAddrFormat
Trait Implementations§
Source§impl Clone for StdAddrFormat
impl Clone for StdAddrFormat
Source§fn clone(&self) -> StdAddrFormat
fn clone(&self) -> StdAddrFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StdAddrFormat
impl Debug for StdAddrFormat
impl Copy for StdAddrFormat
Auto Trait Implementations§
impl Freeze for StdAddrFormat
impl RefUnwindSafe for StdAddrFormat
impl Send for StdAddrFormat
impl Sync for StdAddrFormat
impl Unpin for StdAddrFormat
impl UnwindSafe for StdAddrFormat
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