pub struct AgentStreamRequest {
pub attachment: Option<AttachmentInput>,
pub attachments: Option<Attachments>,
pub backpack_accounts: Vec<Map<String, Value>>,
pub cloud_permissions: Vec<String>,
pub message: AgentStreamRequestMessage,
pub run_id: Option<String>,
pub session_grants: Vec<String>,
pub thread_id: Option<String>,
pub user_address: Option<WalletAddress>,
pub workflow_wallet: Option<WalletAddress>,
}Expand description
AgentStreamRequest
JSON schema
{
"type": "object",
"required": [
"message"
],
"properties": {
"attachment": {
"$ref": "#/components/schemas/AttachmentInput"
},
"attachments": {
"$ref": "#/components/schemas/Attachments"
},
"backpackAccounts": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"cloudPermissions": {
"type": "array",
"items": {
"type": "string"
}
},
"message": {
"type": "string",
"minLength": 1
},
"runId": {
"type": "string"
},
"sessionGrants": {
"type": "array",
"items": {
"type": "string"
}
},
"threadId": {
"type": "string"
},
"userAddress": {
"$ref": "#/components/schemas/WalletAddress"
},
"workflowWallet": {
"$ref": "#/components/schemas/WalletAddress"
}
},
"additionalProperties": true
}Fields§
§attachment: Option<AttachmentInput>§attachments: Option<Attachments>§backpack_accounts: Vec<Map<String, Value>>§cloud_permissions: Vec<String>§message: AgentStreamRequestMessage§run_id: Option<String>§session_grants: Vec<String>§thread_id: Option<String>§user_address: Option<WalletAddress>§workflow_wallet: Option<WalletAddress>Implementations§
Source§impl AgentStreamRequest
impl AgentStreamRequest
pub fn builder() -> AgentStreamRequest
Trait Implementations§
Source§impl Clone for AgentStreamRequest
impl Clone for AgentStreamRequest
Source§fn clone(&self) -> AgentStreamRequest
fn clone(&self) -> AgentStreamRequest
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 AgentStreamRequest
impl Debug for AgentStreamRequest
Source§impl<'de> Deserialize<'de> for AgentStreamRequest
impl<'de> Deserialize<'de> for AgentStreamRequest
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
Source§impl From<AgentStreamRequest> for AgentStreamRequest
impl From<AgentStreamRequest> for AgentStreamRequest
Source§fn from(value: AgentStreamRequest) -> Self
fn from(value: AgentStreamRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for AgentStreamRequest
impl Serialize for AgentStreamRequest
Source§impl TryFrom<AgentStreamRequest> for AgentStreamRequest
impl TryFrom<AgentStreamRequest> for AgentStreamRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: AgentStreamRequest) -> Result<Self, ConversionError>
fn try_from(value: AgentStreamRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for AgentStreamRequest
impl RefUnwindSafe for AgentStreamRequest
impl Send for AgentStreamRequest
impl Sync for AgentStreamRequest
impl Unpin for AgentStreamRequest
impl UnsafeUnpin for AgentStreamRequest
impl UnwindSafe for AgentStreamRequest
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