pub struct DelegatedAgentOwner {
pub delegation_id: Option<Uuid>,
pub expires_at: Option<String>,
pub is_active: Option<bool>,
pub name: Option<String>,
pub owner_user_id: Option<Uuid>,
}Expand description
DelegatedAgentOwner
JSON schema
{
"type": "object",
"properties": {
"delegationId": {
"description": "Delegation UUID for the (owner, agent) pair",
"type": [
"string",
"null"
],
"format": "uuid"
},
"expiresAt": {
"description": "Delegation expiry timestamp (ISO 8601), if set",
"type": [
"string",
"null"
]
},
"isActive": {
"description": "Whether the delegation is active",
"type": [
"boolean",
"null"
]
},
"name": {
"description": "Human-friendly label the owner gave this agent, if any",
"type": [
"string",
"null"
]
},
"ownerUserId": {
"description": "Owner account UUID to pass to CreateDelegatedSession",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§delegation_id: Option<Uuid>Delegation UUID for the (owner, agent) pair
expires_at: Option<String>Delegation expiry timestamp (ISO 8601), if set
is_active: Option<bool>Whether the delegation is active
name: Option<String>Human-friendly label the owner gave this agent, if any
owner_user_id: Option<Uuid>Owner account UUID to pass to CreateDelegatedSession
Trait Implementations§
Source§impl Clone for DelegatedAgentOwner
impl Clone for DelegatedAgentOwner
Source§fn clone(&self) -> DelegatedAgentOwner
fn clone(&self) -> DelegatedAgentOwner
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 DelegatedAgentOwner
impl Debug for DelegatedAgentOwner
Source§impl Default for DelegatedAgentOwner
impl Default for DelegatedAgentOwner
Source§impl<'de> Deserialize<'de> for DelegatedAgentOwner
impl<'de> Deserialize<'de> for DelegatedAgentOwner
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 DelegatedAgentOwner
impl RefUnwindSafe for DelegatedAgentOwner
impl Send for DelegatedAgentOwner
impl Sync for DelegatedAgentOwner
impl Unpin for DelegatedAgentOwner
impl UnsafeUnpin for DelegatedAgentOwner
impl UnwindSafe for DelegatedAgentOwner
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