pub struct CreateDelegatedSessionRequest {
pub owner_user_id: Option<Uuid>,
pub session_public_key: Option<String>,
}Expand description
CreateDelegatedSessionRequest
JSON schema
{
"type": "object",
"properties": {
"ownerUserId": {
"description": "Owner account UUID to act on behalf of (discover via ListDelegatedAgentOwners)",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
},
"sessionPublicKey": {
"description": "Lowercase-hex (64 chars) ed25519 public key the agent generated for this delegated session. Subsequent requests acting on the owner's behalf are signed with the matching private key.",
"type": [
"string",
"null"
]
}
}
}Fields§
§owner_user_id: Option<Uuid>Owner account UUID to act on behalf of (discover via ListDelegatedAgentOwners)
session_public_key: Option<String>Lowercase-hex (64 chars) ed25519 public key the agent generated for this delegated session. Subsequent requests acting on the owner’s behalf are signed with the matching private key.
Trait Implementations§
Source§impl Clone for CreateDelegatedSessionRequest
impl Clone for CreateDelegatedSessionRequest
Source§fn clone(&self) -> CreateDelegatedSessionRequest
fn clone(&self) -> CreateDelegatedSessionRequest
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 CreateDelegatedSessionRequest
impl<'de> Deserialize<'de> for CreateDelegatedSessionRequest
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 CreateDelegatedSessionRequest
impl RefUnwindSafe for CreateDelegatedSessionRequest
impl Send for CreateDelegatedSessionRequest
impl Sync for CreateDelegatedSessionRequest
impl Unpin for CreateDelegatedSessionRequest
impl UnsafeUnpin for CreateDelegatedSessionRequest
impl UnwindSafe for CreateDelegatedSessionRequest
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