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