pub struct ProjectIndex {
pub version: u32,
pub roots: Vec<RootEntry>,
pub child_lookup: BTreeMap<String, String>,
}Expand description
Project index: all root sessions + an child_id -> parent_id lookup table (O(1) resolve).
Fields§
§version: u32§roots: Vec<RootEntry>§child_lookup: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for ProjectIndex
impl Clone for ProjectIndex
Source§fn clone(&self) -> ProjectIndex
fn clone(&self) -> ProjectIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectIndex
impl Debug for ProjectIndex
Source§impl Default for ProjectIndex
impl Default for ProjectIndex
Source§fn default() -> ProjectIndex
fn default() -> ProjectIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectIndex
impl<'de> Deserialize<'de> for ProjectIndex
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
Source§impl PartialEq for ProjectIndex
impl PartialEq for ProjectIndex
Source§fn eq(&self, other: &ProjectIndex) -> bool
fn eq(&self, other: &ProjectIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProjectIndex
impl Serialize for ProjectIndex
impl StructuralPartialEq for ProjectIndex
Auto Trait Implementations§
impl Freeze for ProjectIndex
impl RefUnwindSafe for ProjectIndex
impl Send for ProjectIndex
impl Sync for ProjectIndex
impl Unpin for ProjectIndex
impl UnsafeUnpin for ProjectIndex
impl UnwindSafe for ProjectIndex
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