pub struct TopologyPathNodeView {
pub pid: Principal,
pub role: CanisterRole,
pub parent_pid: Option<Principal>,
}Expand description
TopologyPathNodeView Snapshot node for parent-path traversal (includes identity).
Fields§
§pid: Principal§role: CanisterRole§parent_pid: Option<Principal>Trait Implementations§
Source§impl CandidType for TopologyPathNodeView
impl CandidType for TopologyPathNodeView
Source§impl Clone for TopologyPathNodeView
impl Clone for TopologyPathNodeView
Source§fn clone(&self) -> TopologyPathNodeView
fn clone(&self) -> TopologyPathNodeView
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 TopologyPathNodeView
impl Debug for TopologyPathNodeView
Source§impl<'de> Deserialize<'de> for TopologyPathNodeView
impl<'de> Deserialize<'de> for TopologyPathNodeView
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 TopologyPathNodeView
impl RefUnwindSafe for TopologyPathNodeView
impl Send for TopologyPathNodeView
impl Sync for TopologyPathNodeView
impl Unpin for TopologyPathNodeView
impl UnwindSafe for TopologyPathNodeView
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