pub struct HashIdsBuilder { /* private fields */ }Expand description
Builder for HashIds
Implementations§
Source§impl HashIdsBuilder
impl HashIdsBuilder
Sourcepub fn with_min_length(self, min_length: usize) -> Self
pub fn with_min_length(self, min_length: usize) -> Self
Set the minimum length for the encoded string
Sourcepub fn with_alphabet(self, alphabet: &str) -> HashIdsBuilderWithCustomAlphabet
pub fn with_alphabet(self, alphabet: &str) -> HashIdsBuilderWithCustomAlphabet
Set the custom alphabet to use for encoding