pub struct ServiceGraph {
pub nodes: HashMap<String, ServiceNode>,
}Fields§
§nodes: HashMap<String, ServiceNode>Implementations§
Source§impl ServiceGraph
impl ServiceGraph
pub fn from_services(services: &[ServiceConfigView]) -> Self
Trait Implementations§
Source§impl Clone for ServiceGraph
impl Clone for ServiceGraph
Source§fn clone(&self) -> ServiceGraph
fn clone(&self) -> ServiceGraph
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 ServiceGraph
impl Debug for ServiceGraph
Source§impl Default for ServiceGraph
impl Default for ServiceGraph
Source§fn default() -> ServiceGraph
fn default() -> ServiceGraph
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServiceGraph
impl RefUnwindSafe for ServiceGraph
impl Send for ServiceGraph
impl Sync for ServiceGraph
impl Unpin for ServiceGraph
impl UnsafeUnpin for ServiceGraph
impl UnwindSafe for ServiceGraph
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