pub struct CapabilityEntitlements {
pub spawn_programs: Vec<String>,
pub network_hosts: Vec<String>,
pub filesystem_read: Vec<String>,
}Expand description
Suggested entitlements a capability requests at install; each list is
unioned into the agent’s Entitlements after consent.
Fields§
§spawn_programs: Vec<String>§network_hosts: Vec<String>§filesystem_read: Vec<String>Trait Implementations§
Source§impl Clone for CapabilityEntitlements
impl Clone for CapabilityEntitlements
Source§fn clone(&self) -> CapabilityEntitlements
fn clone(&self) -> CapabilityEntitlements
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CapabilityEntitlements
impl Debug for CapabilityEntitlements
Source§impl Default for CapabilityEntitlements
impl Default for CapabilityEntitlements
Source§fn default() -> CapabilityEntitlements
fn default() -> CapabilityEntitlements
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CapabilityEntitlements
impl<'de> Deserialize<'de> for CapabilityEntitlements
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
Source§impl PartialEq for CapabilityEntitlements
impl PartialEq for CapabilityEntitlements
Source§impl Serialize for CapabilityEntitlements
impl Serialize for CapabilityEntitlements
impl StructuralPartialEq for CapabilityEntitlements
Auto Trait Implementations§
impl Freeze for CapabilityEntitlements
impl RefUnwindSafe for CapabilityEntitlements
impl Send for CapabilityEntitlements
impl Sync for CapabilityEntitlements
impl Unpin for CapabilityEntitlements
impl UnsafeUnpin for CapabilityEntitlements
impl UnwindSafe for CapabilityEntitlements
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