pub struct BuildingAnswer {
pub addr: Address,
pub progress: Progress,
pub problems: Vec<String>,
pub plan: Vec<PlanRow>,
pub blocked: Vec<BlockedLine>,
pub rooms: Vec<String>,
pub docs: Vec<BuildingDoc>,
pub archive: Vec<ArchiveLine>,
pub sandbox: Option<SandboxLimits>,
pub mcp: Vec<McpServer>,
}Expand description
What one building is: its plan, its own documents, its rooms and what it has filed. The answer a person reads when they ask “what happened in there”.
Fields§
§addr: Address§progress: Progress§problems: Vec<String>Rows of the plan this build could not read. Shown, never dropped.
plan: Vec<PlanRow>The plan tree, in reading order. Empty when the plan does not
parse, which problems then explains.
blocked: Vec<BlockedLine>What is stuck, one line per cause.
rooms: Vec<String>§docs: Vec<BuildingDoc>§archive: Vec<ArchiveLine>§sandbox: Option<SandboxLimits>What this building’s own layer states its runs may reach. The resolved value is the ladder’s; this is the rung a person edits, so a form that showed the resolved value would silently rewrite what a city-wide setting had said.
mcp: Vec<McpServer>Trait Implementations§
Source§impl Clone for BuildingAnswer
impl Clone for BuildingAnswer
Source§impl Debug for BuildingAnswer
impl Debug for BuildingAnswer
Source§impl<'de> Deserialize<'de> for BuildingAnswer
impl<'de> Deserialize<'de> for BuildingAnswer
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 BuildingAnswer
Source§impl PartialEq for BuildingAnswer
impl PartialEq for BuildingAnswer
Source§impl Serialize for BuildingAnswer
impl Serialize for BuildingAnswer
impl StructuralPartialEq for BuildingAnswer
Auto Trait Implementations§
impl Freeze for BuildingAnswer
impl RefUnwindSafe for BuildingAnswer
impl Send for BuildingAnswer
impl Sync for BuildingAnswer
impl Unpin for BuildingAnswer
impl UnsafeUnpin for BuildingAnswer
impl UnwindSafe for BuildingAnswer
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