pub struct ContextIndex {
pub contexts: HashMap<String, ContextIndexEntry>,
}Expand description
Context index for fast listing.
Fields§
§contexts: HashMap<String, ContextIndexEntry>Map of context ID to index entry.
Trait Implementations§
Source§impl Clone for ContextIndex
impl Clone for ContextIndex
Source§fn clone(&self) -> ContextIndex
fn clone(&self) -> ContextIndex
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ContextIndex
impl Debug for ContextIndex
Source§impl Default for ContextIndex
impl Default for ContextIndex
Source§fn default() -> ContextIndex
fn default() -> ContextIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextIndex
impl<'de> Deserialize<'de> for ContextIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContextIndex
impl RefUnwindSafe for ContextIndex
impl Send for ContextIndex
impl Sync for ContextIndex
impl Unpin for ContextIndex
impl UnwindSafe for ContextIndex
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