pub struct Item {
pub id: String,
pub label: String,
pub class: &'static str,
pub junction: bool,
pub group: Option<usize>,
pub open: Option<bool>,
pub in_service: Option<bool>,
pub far: Vec<usize>,
pub findings: Counts,
}Fields§
§id: String§label: String§class: &'static str§junction: boolA connectivity or topological node, which the item’s terminals meet at.
group: Option<usize>Its voltage level, by index into groups.
open: Option<bool>A switch’s state: Switch.open, else Switch.normalOpen.
in_service: Option<bool>Equipment.inService.
far: Vec<usize>The other nodes the equipment reaches.
findings: CountsTrait Implementations§
Auto Trait Implementations§
impl Forget for Item
impl Freeze for Item
impl Move for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Itemwhere
RawVecInner: Sync,
impl Unpin for Item
impl UnsafeUnpin for Itemwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for Item
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