Struct nid::alphabet::Base58Alphabet
source · pub struct Base58Alphabet;
Expand description
Alphabet with A-Za-z0-9
symbols excluding 0OlI
.
§Example
use nid::{alphabet::Base58Alphabet, Nanoid};
let id: Nanoid<21, Base58Alphabet> = Nanoid::new();
Trait Implementations§
source§impl Alphabet for Base58Alphabet
impl Alphabet for Base58Alphabet
source§const SYMBOL_LIST: &'static [u8] = b"ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz123456789"
const SYMBOL_LIST: &'static [u8] = b"ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz123456789"
The symbols that can be used in Nano ID. Symbols are represented as
u8
values.Auto Trait Implementations§
impl Freeze for Base58Alphabet
impl RefUnwindSafe for Base58Alphabet
impl Send for Base58Alphabet
impl Sync for Base58Alphabet
impl Unpin for Base58Alphabet
impl UnwindSafe for Base58Alphabet
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