pub struct BuildingProgress {
pub addr: Address,
pub progress: Progress,
pub problems: Vec<String>,
pub blocked: Vec<BlockedLine>,
pub ready: u32,
}Expand description
A building’s plan, as its own Roadmap.md states it.
problems carries the rows the table could not state — a row with a
status outside the five words, a column count that is not six, or a
dependency that runs in a circle. The interface shows them: a plan
that quietly drops the lines it could not parse would report progress
against a denominator nobody chose.
Fields§
§addr: Address§progress: Progress§problems: Vec<String>§blocked: Vec<BlockedLine>What is stuck, one line per cause. Never one per symptom: a plan with one real problem sends one line, and the seventeen nodes waiting behind it are a count on that line rather than seventeen more of them.
ready: u32How many nodes could be started right now. The number that says whether a city with a standing goal has anything left to do.
Trait Implementations§
Source§impl Clone for BuildingProgress
impl Clone for BuildingProgress
Source§impl Debug for BuildingProgress
impl Debug for BuildingProgress
Source§impl<'de> Deserialize<'de> for BuildingProgress
impl<'de> Deserialize<'de> for BuildingProgress
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 BuildingProgress
Source§impl PartialEq for BuildingProgress
impl PartialEq for BuildingProgress
Source§impl Serialize for BuildingProgress
impl Serialize for BuildingProgress
impl StructuralPartialEq for BuildingProgress
Auto Trait Implementations§
impl Freeze for BuildingProgress
impl RefUnwindSafe for BuildingProgress
impl Send for BuildingProgress
impl Sync for BuildingProgress
impl Unpin for BuildingProgress
impl UnsafeUnpin for BuildingProgress
impl UnwindSafe for BuildingProgress
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