pub struct WorkflowStreamRequest {
pub attachment: Option<AttachmentInput>,
pub attachments: Option<Attachments>,
pub audio: Option<String>,
pub continuous: Option<bool>,
pub image: Option<String>,
pub last_event_index: Option<i64>,
pub message: String,
pub run_id: Option<String>,
pub thread_id: Option<String>,
}Expand description
WorkflowStreamRequest
JSON schema
{
"type": "object",
"required": [
"message"
],
"properties": {
"attachment": {
"$ref": "#/components/schemas/AttachmentInput"
},
"attachments": {
"$ref": "#/components/schemas/Attachments"
},
"audio": {
"type": "string"
},
"continuous": {
"type": "boolean"
},
"image": {
"type": "string"
},
"lastEventIndex": {
"type": "integer"
},
"message": {
"type": "string"
},
"runId": {
"type": "string"
},
"threadId": {
"type": "string"
}
},
"additionalProperties": true
}Fields§
§attachment: Option<AttachmentInput>§attachments: Option<Attachments>§audio: Option<String>§continuous: Option<bool>§image: Option<String>§last_event_index: Option<i64>§message: String§run_id: Option<String>§thread_id: Option<String>Implementations§
Source§impl WorkflowStreamRequest
impl WorkflowStreamRequest
pub fn builder() -> WorkflowStreamRequest
Trait Implementations§
Source§impl Clone for WorkflowStreamRequest
impl Clone for WorkflowStreamRequest
Source§fn clone(&self) -> WorkflowStreamRequest
fn clone(&self) -> WorkflowStreamRequest
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 WorkflowStreamRequest
impl Debug for WorkflowStreamRequest
Source§impl<'de> Deserialize<'de> for WorkflowStreamRequest
impl<'de> Deserialize<'de> for WorkflowStreamRequest
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<WorkflowStreamRequest> for WorkflowStreamRequest
impl From<WorkflowStreamRequest> for WorkflowStreamRequest
Source§fn from(value: WorkflowStreamRequest) -> Self
fn from(value: WorkflowStreamRequest) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorkflowStreamRequest
impl Serialize for WorkflowStreamRequest
Source§impl TryFrom<WorkflowStreamRequest> for WorkflowStreamRequest
impl TryFrom<WorkflowStreamRequest> for WorkflowStreamRequest
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WorkflowStreamRequest) -> Result<Self, ConversionError>
fn try_from(value: WorkflowStreamRequest) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WorkflowStreamRequest
impl RefUnwindSafe for WorkflowStreamRequest
impl Send for WorkflowStreamRequest
impl Sync for WorkflowStreamRequest
impl Unpin for WorkflowStreamRequest
impl UnsafeUnpin for WorkflowStreamRequest
impl UnwindSafe for WorkflowStreamRequest
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