pub struct WorkflowCall {
pub inputs: HashMap<String, WorkflowCallInput>,
pub outputs: HashMap<String, WorkflowCallOutput>,
pub secrets: HashMap<String, WorkflowCallSecret>,
}
Expand description
Configuration for workflow call events See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call
Fields§
§inputs: HashMap<String, WorkflowCallInput>
Inputs for the workflow call
outputs: HashMap<String, WorkflowCallOutput>
Outputs from the workflow call
secrets: HashMap<String, WorkflowCallSecret>
Secrets for the workflow call
Implementations§
Source§impl WorkflowCall
impl WorkflowCall
Sourcepub fn inputs(
self,
value: impl Into<HashMap<String, WorkflowCallInput>>,
) -> WorkflowCall
pub fn inputs( self, value: impl Into<HashMap<String, WorkflowCallInput>>, ) -> WorkflowCall
Sets the inputs
field of this struct.
Sourcepub fn outputs(
self,
value: impl Into<HashMap<String, WorkflowCallOutput>>,
) -> WorkflowCall
pub fn outputs( self, value: impl Into<HashMap<String, WorkflowCallOutput>>, ) -> WorkflowCall
Sets the outputs
field of this struct.
Sourcepub fn secrets(
self,
value: impl Into<HashMap<String, WorkflowCallSecret>>,
) -> WorkflowCall
pub fn secrets( self, value: impl Into<HashMap<String, WorkflowCallSecret>>, ) -> WorkflowCall
Sets the secrets
field of this struct.
Trait Implementations§
Source§impl Clone for WorkflowCall
impl Clone for WorkflowCall
Source§fn clone(&self) -> WorkflowCall
fn clone(&self) -> WorkflowCall
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 WorkflowCall
impl Debug for WorkflowCall
Source§impl Default for WorkflowCall
impl Default for WorkflowCall
Source§fn default() -> WorkflowCall
fn default() -> WorkflowCall
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowCall
impl<'de> Deserialize<'de> for WorkflowCall
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WorkflowCall, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for WorkflowCall
impl PartialEq for WorkflowCall
Source§impl Serialize for WorkflowCall
impl Serialize for WorkflowCall
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 WorkflowCall
impl StructuralPartialEq for WorkflowCall
Auto Trait Implementations§
impl Freeze for WorkflowCall
impl RefUnwindSafe for WorkflowCall
impl Send for WorkflowCall
impl Sync for WorkflowCall
impl Unpin for WorkflowCall
impl UnwindSafe for WorkflowCall
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.