pub struct TrustReport {
pub quadlet_hooks: Vec<String>,
pub config_scripts: Vec<String>,
pub host_mounts: Vec<String>,
}Expand description
What a service definition is allowed to do on the host: quadlet hooks that run as the user, scripts copied into the service data dir, and host bind mounts. Collected so the frontend can show the user exactly what they’re trusting before installing from an external registry.
Fields§
§quadlet_hooks: Vec<String>Raw ExecStartPre= / ExecStartPost= lines from the quadlets.
config_scripts: Vec<String>Script filenames under configs/scripts/.
host_mounts: Vec<String>Volume= values that bind-mount host paths (%h or absolute).
Trait Implementations§
Source§impl Debug for TrustReport
impl Debug for TrustReport
Source§impl Default for TrustReport
impl Default for TrustReport
Source§fn default() -> TrustReport
fn default() -> TrustReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrustReport
impl RefUnwindSafe for TrustReport
impl Send for TrustReport
impl Sync for TrustReport
impl Unpin for TrustReport
impl UnsafeUnpin for TrustReport
impl UnwindSafe for TrustReport
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