pub struct FleetEffectivePermissions {
pub write: bool,
pub network: bool,
pub shell: String,
pub tool_scope: String,
pub tools: Vec<String>,
pub background: bool,
pub max_spawn_depth: u32,
pub profile_id: Option<String>,
pub profile_origin: Option<String>,
pub source: String,
}Expand description
Effective worker authority persisted on a FleetReceipt (#3211).
This is a non-secret snapshot of the already-computed runtime profile. It records what the worker was allowed to do; it does not grant permissions and does not carry credentials, sandbox paths, or provider endpoints.
Fields§
§write: boolWhether the worker profile may modify workspace files.
network: boolWhether the worker profile may use network-capable tools.
shell: StringShell posture (none, read_only, or full).
tool_scope: StringTool-surface posture (inherit or explicit).
tools: Vec<String>Explicit tool names when tool_scope is explicit.
background: boolWhether the worker is intended to run detached/background.
max_spawn_depth: u32Remaining nested-delegation budget after parent intersection/hardening.
profile_id: Option<String>Roster profile id that contributed to this worker, when any.
profile_origin: Option<String>Roster layer for profile_id (built_in, config, or workspace).
source: StringHow this snapshot was produced (e.g. "worker_runtime_profile").
Trait Implementations§
Source§impl Clone for FleetEffectivePermissions
impl Clone for FleetEffectivePermissions
Source§impl Debug for FleetEffectivePermissions
impl Debug for FleetEffectivePermissions
Source§impl<'de> Deserialize<'de> for FleetEffectivePermissions
impl<'de> Deserialize<'de> for FleetEffectivePermissions
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>,
impl Eq for FleetEffectivePermissions
impl StructuralPartialEq for FleetEffectivePermissions
Auto Trait Implementations§
impl Freeze for FleetEffectivePermissions
impl RefUnwindSafe for FleetEffectivePermissions
impl Send for FleetEffectivePermissions
impl Sync for FleetEffectivePermissions
impl Unpin for FleetEffectivePermissions
impl UnsafeUnpin for FleetEffectivePermissions
impl UnwindSafe for FleetEffectivePermissions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.