pub struct RouteInventory {
pub routes: Vec<Vec<String>>,
pub aliases: Vec<(Vec<String>, Vec<String>)>,
}Expand description
Raw route inventory exposed to maintainer control-plane consumers.
Fields§
§routes: Vec<Vec<String>>Canonical built-in command paths.
aliases: Vec<(Vec<String>, Vec<String>)>Alias rewrites represented as (alias, canonical) segment lists.
Trait Implementations§
Source§impl Clone for RouteInventory
impl Clone for RouteInventory
Source§fn clone(&self) -> RouteInventory
fn clone(&self) -> RouteInventory
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 RouteInventory
impl Debug for RouteInventory
Source§impl PartialEq for RouteInventory
impl PartialEq for RouteInventory
Source§impl Serialize for RouteInventory
impl Serialize for RouteInventory
impl Eq for RouteInventory
impl StructuralPartialEq for RouteInventory
Auto Trait Implementations§
impl Freeze for RouteInventory
impl RefUnwindSafe for RouteInventory
impl Send for RouteInventory
impl Sync for RouteInventory
impl Unpin for RouteInventory
impl UnsafeUnpin for RouteInventory
impl UnwindSafe for RouteInventory
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.