pub struct C2Topology {
pub nodes: Vec<C2TopologyNode>,
}Fields§
§nodes: Vec<C2TopologyNode>Implementations§
Source§impl C2Topology
impl C2Topology
pub fn from_status(status: &StatusResponse) -> Self
pub fn from_status_with_provider_contracts( status: &StatusResponse, include_provider_contracts: bool, ) -> Self
pub fn from_status_with_capabilities( status: &StatusResponse, include_provider_contracts: bool, include_provider_runtime_status: bool, ) -> Self
Trait Implementations§
Source§impl Clone for C2Topology
impl Clone for C2Topology
Source§impl Debug for C2Topology
impl Debug for C2Topology
Source§impl<'de> Deserialize<'de> for C2Topology
impl<'de> Deserialize<'de> for C2Topology
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
impl Eq for C2Topology
Source§impl PartialEq for C2Topology
impl PartialEq for C2Topology
Source§impl Serialize for C2Topology
impl Serialize for C2Topology
impl StructuralPartialEq for C2Topology
Auto Trait Implementations§
impl Freeze for C2Topology
impl RefUnwindSafe for C2Topology
impl Send for C2Topology
impl Sync for C2Topology
impl Unpin for C2Topology
impl UnsafeUnpin for C2Topology
impl UnwindSafe for C2Topology
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