pub struct ElectricalReadiness {
pub findings: Vec<ReadinessFinding>,
}Expand description
Result of audit_electrical_readiness.
Fields§
§findings: Vec<ReadinessFinding>Implementations§
Source§impl ElectricalReadiness
impl ElectricalReadiness
Sourcepub fn blockers(&self) -> impl Iterator<Item = &ReadinessFinding>
pub fn blockers(&self) -> impl Iterator<Item = &ReadinessFinding>
Returns the findings that make the network unsafe to solve.
Sourcepub fn warnings(&self) -> impl Iterator<Item = &ReadinessFinding>
pub fn warnings(&self) -> impl Iterator<Item = &ReadinessFinding>
Returns non-fatal findings.
Trait Implementations§
Source§impl Clone for ElectricalReadiness
impl Clone for ElectricalReadiness
Source§fn clone(&self) -> ElectricalReadiness
fn clone(&self) -> ElectricalReadiness
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 ElectricalReadiness
impl Debug for ElectricalReadiness
Source§impl Default for ElectricalReadiness
impl Default for ElectricalReadiness
Source§fn default() -> ElectricalReadiness
fn default() -> ElectricalReadiness
Returns the “default value” for a type. Read more
impl Eq for ElectricalReadiness
Source§impl PartialEq for ElectricalReadiness
impl PartialEq for ElectricalReadiness
Source§fn eq(&self, other: &ElectricalReadiness) -> bool
fn eq(&self, other: &ElectricalReadiness) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ElectricalReadiness
Auto Trait Implementations§
impl Freeze for ElectricalReadiness
impl RefUnwindSafe for ElectricalReadiness
impl Send for ElectricalReadiness
impl Sync for ElectricalReadiness
impl Unpin for ElectricalReadiness
impl UnsafeUnpin for ElectricalReadiness
impl UnwindSafe for ElectricalReadiness
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