pub struct TopologyRecord {
pub id: NodeId,
pub parent: NodeId,
pub owns_registry: bool,
pub source: String,
}Expand description
One registration face participating in a topology check. 参与拓扑校验的一个注册面。
Fields§
§id: NodeIdIdentity of the face under check. 受检注册面的身份。
parent: NodeIdIdentity of the face this one registers under; the package root for a top-level face. 本注册面所挂载的父面身份;顶层注册面则为包根。
owns_registry: boolWhether this face provides a registry its children may register into. 该注册面是否提供可供子级注册的注册表。
source: StringSource file label the diagnostic points back to. 诊断指回的源文件标签。
Trait Implementations§
Source§impl Clone for TopologyRecord
impl Clone for TopologyRecord
Source§fn clone(&self) -> TopologyRecord
fn clone(&self) -> TopologyRecord
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 moreAuto Trait Implementations§
impl Freeze for TopologyRecord
impl RefUnwindSafe for TopologyRecord
impl Send for TopologyRecord
impl Sync for TopologyRecord
impl Unpin for TopologyRecord
impl UnsafeUnpin for TopologyRecord
impl UnwindSafe for TopologyRecord
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