pub struct WorkflowDispatchInput {
pub description: String,
pub required: bool,
pub input_type: String,
pub default: Option<String>,
}
Expand description
Configuration for workflow dispatch 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 WorkflowDispatchInput
impl WorkflowDispatchInput
Sourcepub fn description(self, value: impl Into<String>) -> Self
pub fn description(self, value: impl Into<String>) -> Self
Sets the description
field of this struct.
Sourcepub fn input_type(self, value: impl Into<String>) -> Self
pub fn input_type(self, value: impl Into<String>) -> Self
Sets the input_type
field of this struct.
Trait Implementations§
Source§impl Clone for WorkflowDispatchInput
impl Clone for WorkflowDispatchInput
Source§fn clone(&self) -> WorkflowDispatchInput
fn clone(&self) -> WorkflowDispatchInput
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 WorkflowDispatchInput
impl Debug for WorkflowDispatchInput
Source§impl Default for WorkflowDispatchInput
impl Default for WorkflowDispatchInput
Source§fn default() -> WorkflowDispatchInput
fn default() -> WorkflowDispatchInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowDispatchInput
impl<'de> Deserialize<'de> for WorkflowDispatchInput
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 WorkflowDispatchInput
impl RefUnwindSafe for WorkflowDispatchInput
impl Send for WorkflowDispatchInput
impl Sync for WorkflowDispatchInput
impl Unpin for WorkflowDispatchInput
impl UnwindSafe for WorkflowDispatchInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)