pub struct Export {
pub units: Vec<UnitDef>,
pub user_units: Vec<UnitDef>,
pub core_units: BTreeMap<String, String>,
pub devices: BTreeMap<String, String>,
pub packages: BTreeMap<String, String>,
pub insecure: Vec<String>,
pub declarations: BTreeMap<String, Vec<String>>,
pub inputs: BTreeMap<String, ExportInput>,
pub services: BTreeMap<String, Sensitivities>,
}Expand description
The JSON a generation exports at /etc/planarian/export.json and through
config.services.planarian.export (see nix/module.nix).
Fields§
§units: Vec<UnitDef>§user_units: Vec<UnitDef>§core_units: BTreeMap<String, String>§devices: BTreeMap<String, String>§packages: BTreeMap<String, String>pname → version of the system packages (§12e).
insecure: Vec<String>pnames whose meta.knownVulnerabilities is not empty.
declarations: BTreeMap<String, Vec<String>>Every system service → the files defining it (§15 provenance).
inputs: BTreeMap<String, ExportInput>Flake inputs: name → { rev, path }.
services: BTreeMap<String, Sensitivities>Every undeclared system service → its shipped-table sensitivity (§11).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Export
impl<'de> Deserialize<'de> for Export
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 Export
impl StructuralPartialEq for Export
Auto Trait Implementations§
impl Freeze for Export
impl RefUnwindSafe for Export
impl Send for Export
impl Sync for Export
impl Unpin for Export
impl UnsafeUnpin for Export
impl UnwindSafe for Export
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