pub struct CreateDelegatedSessionResponse {
pub agent_address: Option<String>,
pub delegation_id: Option<Uuid>,
pub expires_at: Option<String>,
pub owner_user_id: Option<Uuid>,
}Expand description
CreateDelegatedSessionResponse
JSON schema
{
"type": "object",
"properties": {
"agentAddress": {
"description": "Agent wallet address recorded on the session for policy enforcement",
"type": [
"string",
"null"
]
},
"delegationId": {
"description": "Delegation UUID for the active (owner, agent) pair",
"type": [
"string",
"null"
],
"format": "uuid"
},
"expiresAt": {
"description": "Session expiry as a Unix timestamp (seconds)",
"examples": [
"1735689599"
],
"type": [
"string",
"null"
]
},
"ownerUserId": {
"description": "Owner account UUID the session acts on behalf of",
"type": [
"string",
"null"
],
"format": "uuid"
}
}
}Fields§
§agent_address: Option<String>Agent wallet address recorded on the session for policy enforcement
delegation_id: Option<Uuid>Delegation UUID for the active (owner, agent) pair
expires_at: Option<String>Session expiry as a Unix timestamp (seconds)
owner_user_id: Option<Uuid>Owner account UUID the session acts on behalf of
Trait Implementations§
Source§impl Clone for CreateDelegatedSessionResponse
impl Clone for CreateDelegatedSessionResponse
Source§fn clone(&self) -> CreateDelegatedSessionResponse
fn clone(&self) -> CreateDelegatedSessionResponse
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<'de> Deserialize<'de> for CreateDelegatedSessionResponse
impl<'de> Deserialize<'de> for CreateDelegatedSessionResponse
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 CreateDelegatedSessionResponse
impl RefUnwindSafe for CreateDelegatedSessionResponse
impl Send for CreateDelegatedSessionResponse
impl Sync for CreateDelegatedSessionResponse
impl Unpin for CreateDelegatedSessionResponse
impl UnsafeUnpin for CreateDelegatedSessionResponse
impl UnwindSafe for CreateDelegatedSessionResponse
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