pub struct NumberMap<K, S = Root> { /* private fields */ }Expand description
Implementations§
Source§impl<K, S> NumberMap<K, S>
impl<K, S> NumberMap<K, S>
pub fn at(path: impl Into<String>) -> Self
Sourcepub fn sort_key(&self, key: impl Into<String>) -> MapKeySort<S>
pub fn sort_key(&self, key: impl Into<String>) -> MapKeySort<S>
Sort by this key, with optional fallback (sort_key("usd").or("eur")).
Returns a MapKeySort; see it for the rendered shape.
Trait Implementations§
Auto Trait Implementations§
impl<K, S> Freeze for NumberMap<K, S>
impl<K, S> RefUnwindSafe for NumberMap<K, S>
impl<K, S> Send for NumberMap<K, S>
impl<K, S> Sync for NumberMap<K, S>
impl<K, S> Unpin for NumberMap<K, S>
impl<K, S> UnsafeUnpin for NumberMap<K, S>
impl<K, S> UnwindSafe for NumberMap<K, S>
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