pub struct SimpleWorkflowInput {
pub workflow_id: WorkflowId,
pub topic: String,
}Expand description
Input for the simple workflow.
Fields§
§workflow_id: WorkflowIdUnique ID for this workflow instance
topic: StringTopic to generate content about
Implementations§
Trait Implementations§
Source§impl Clone for SimpleWorkflowInput
impl Clone for SimpleWorkflowInput
Source§fn clone(&self) -> SimpleWorkflowInput
fn clone(&self) -> SimpleWorkflowInput
Returns a duplicate of the value. Read more
1.0.0 · 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 SimpleWorkflowInput
impl Debug for SimpleWorkflowInput
Source§impl<'de> Deserialize<'de> for SimpleWorkflowInput
impl<'de> Deserialize<'de> for SimpleWorkflowInput
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 SimpleWorkflowInput
impl RefUnwindSafe for SimpleWorkflowInput
impl Send for SimpleWorkflowInput
impl Sync for SimpleWorkflowInput
impl Unpin for SimpleWorkflowInput
impl UnsafeUnpin for SimpleWorkflowInput
impl UnwindSafe for SimpleWorkflowInput
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