pub struct AgentAccessControl {
pub clearance: i64,
pub compartments: Option<Vec<String>>,
pub caveats: Option<Vec<String>>,
}Expand description
Security clearance and compartment access.
Fields§
§clearance: i640=public, 1=internal, 2=restricted, 3=confidential, 4=secret.
compartments: Option<Vec<String>>§caveats: Option<Vec<String>>Trait Implementations§
Source§impl Clone for AgentAccessControl
impl Clone for AgentAccessControl
Source§fn clone(&self) -> AgentAccessControl
fn clone(&self) -> AgentAccessControl
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 AgentAccessControl
impl Debug for AgentAccessControl
Source§impl Default for AgentAccessControl
impl Default for AgentAccessControl
Source§fn default() -> AgentAccessControl
fn default() -> AgentAccessControl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentAccessControl
impl<'de> Deserialize<'de> for AgentAccessControl
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 AgentAccessControl
impl PartialEq for AgentAccessControl
Source§impl Serialize for AgentAccessControl
impl Serialize for AgentAccessControl
impl StructuralPartialEq for AgentAccessControl
Auto Trait Implementations§
impl Freeze for AgentAccessControl
impl RefUnwindSafe for AgentAccessControl
impl Send for AgentAccessControl
impl Sync for AgentAccessControl
impl Unpin for AgentAccessControl
impl UnsafeUnpin for AgentAccessControl
impl UnwindSafe for AgentAccessControl
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