Skip to main content

built_units

Function built_units 

Source
pub async fn built_units(
    pool: &PgPool,
    actor: &Actor,
    design_item_id: Uuid,
) -> AppResult<(Vec<BuiltUnit>, i64)>
Expand description

Units built to any revision of the design item the actor may see (at most MAX_UNITS_LISTED); the second value counts the hidden ones.