pub struct TagBucket(/* private fields */);Implementations§
Source§impl TagBucket
impl TagBucket
pub fn new(map: HashMap<&'static str, String>) -> TagBucket
pub fn get(&self, key: &'static str) -> Option<String>
pub fn insert(&mut self, key: &'static str, val: String)
pub fn unchecked_get(&self, key: &'static str) -> String
pub fn get_bytes(&self, key: &'static str) -> Option<Vec<u8>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TagBucket
impl RefUnwindSafe for TagBucket
impl Send for TagBucket
impl Sync for TagBucket
impl Unpin for TagBucket
impl UnwindSafe for TagBucket
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