pub struct AgentDeclaration {
pub bounded_actions: Vec<String>,
pub forbidden: Vec<String>,
pub escalation_required: Vec<String>,
pub network: Vec<String>,
}Expand description
Agent declaration: scope constraints.
Fields§
§bounded_actions: Vec<String>§forbidden: Vec<String>§escalation_required: Vec<String>§network: Vec<String>Network destinations the agent may reach: exact hosts or *.suffix
patterns. Empty means no network scope is declared, not “no network”.
Omitted from the canonical bytes when empty, so every certificate
signed before this field existed keeps its exact signature.
Trait Implementations§
Source§impl Clone for AgentDeclaration
impl Clone for AgentDeclaration
Source§impl Debug for AgentDeclaration
impl Debug for AgentDeclaration
Source§impl<'de> Deserialize<'de> for AgentDeclaration
impl<'de> Deserialize<'de> for AgentDeclaration
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
Auto Trait Implementations§
impl Freeze for AgentDeclaration
impl RefUnwindSafe for AgentDeclaration
impl Send for AgentDeclaration
impl Sync for AgentDeclaration
impl Unpin for AgentDeclaration
impl UnsafeUnpin for AgentDeclaration
impl UnwindSafe for AgentDeclaration
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