pub struct AgentProvisioningConfig {
pub agent_name: String,
pub capabilities: Vec<String>,
pub expires_in: Option<u64>,
pub delegated_by: Option<IdentityDID>,
pub storage_mode: AgentStorageMode,
}Expand description
Configuration for provisioning an agent identity.
Fields§
§agent_name: StringHuman-readable agent name (e.g., “ci-bot”, “release-agent”).
capabilities: Vec<String>Capabilities to grant (e.g., ["sign_commit", "pr:create"]).
expires_in: Option<u64>Duration in seconds until expiration (per RFC 6749).
delegated_by: Option<IdentityDID>DID of the human who authorized this agent.
storage_mode: AgentStorageModeStorage mode (persistent or ephemeral).
Trait Implementations§
Source§impl Clone for AgentProvisioningConfig
impl Clone for AgentProvisioningConfig
Source§fn clone(&self) -> AgentProvisioningConfig
fn clone(&self) -> AgentProvisioningConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AgentProvisioningConfig
impl RefUnwindSafe for AgentProvisioningConfig
impl Send for AgentProvisioningConfig
impl Sync for AgentProvisioningConfig
impl Unpin for AgentProvisioningConfig
impl UnsafeUnpin for AgentProvisioningConfig
impl UnwindSafe for AgentProvisioningConfig
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