pub struct WorkflowCallInput {
pub description: String,
pub required: bool,
pub input_type: String,
pub default: Option<String>,
}
Expand description
Configuration for workflow call input
Fields§
§description: String
Description of the input
required: bool
Indicates if the input is required
input_type: String
Type of the input
default: Option<String>
Default value for the input
Implementations§
Source§impl WorkflowCallInput
impl WorkflowCallInput
Sourcepub fn description(self, value: impl Into<String>) -> WorkflowCallInput
pub fn description(self, value: impl Into<String>) -> WorkflowCallInput
Sets the description
field of this struct.
Sourcepub fn required(self, value: impl Into<bool>) -> WorkflowCallInput
pub fn required(self, value: impl Into<bool>) -> WorkflowCallInput
Sets the required
field of this struct.
Sourcepub fn input_type(self, value: impl Into<String>) -> WorkflowCallInput
pub fn input_type(self, value: impl Into<String>) -> WorkflowCallInput
Sets the input_type
field of this struct.
Trait Implementations§
Source§impl Clone for WorkflowCallInput
impl Clone for WorkflowCallInput
Source§fn clone(&self) -> WorkflowCallInput
fn clone(&self) -> WorkflowCallInput
Returns a copy 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 WorkflowCallInput
impl Debug for WorkflowCallInput
Source§impl Default for WorkflowCallInput
impl Default for WorkflowCallInput
Source§fn default() -> WorkflowCallInput
fn default() -> WorkflowCallInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowCallInput
impl<'de> Deserialize<'de> for WorkflowCallInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowCallInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowCallInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkflowCallInput
impl PartialEq for WorkflowCallInput
Source§impl Serialize for WorkflowCallInput
impl Serialize for WorkflowCallInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for WorkflowCallInput
impl StructuralPartialEq for WorkflowCallInput
Auto Trait Implementations§
impl Freeze for WorkflowCallInput
impl RefUnwindSafe for WorkflowCallInput
impl Send for WorkflowCallInput
impl Sync for WorkflowCallInput
impl Unpin for WorkflowCallInput
impl UnwindSafe for WorkflowCallInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.