pub struct WorkflowDispatchEvent<'a> {
pub inputs: Option<HashMap<&'a str, Value>>,
pub ref_: &'a str,
pub repository: Repository<'a>,
pub sender: User<'a>,
pub installation: Option<InstallationLite<'a>>,
pub organization: Option<Organization<'a>>,
pub workflow: &'a str,
}
Fields§
§inputs: Option<HashMap<&'a str, Value>>
Inputs to the workflow. Each key represents the name of the input while it’s value represents the value of that input.
ref_: &'a str
The branch ref from which the workflow was run.
repository: Repository<'a>
§sender: User<'a>
§installation: Option<InstallationLite<'a>>
§organization: Option<Organization<'a>>
§workflow: &'a str
Relative path to the workflow file which contains the workflow.
Trait Implementations§
source§impl<'a> Debug for WorkflowDispatchEvent<'a>
impl<'a> Debug for WorkflowDispatchEvent<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for WorkflowDispatchEvent<'a>
impl<'de: 'a, 'a> Deserialize<'de> for WorkflowDispatchEvent<'a>
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<'a> RefUnwindSafe for WorkflowDispatchEvent<'a>
impl<'a> Send for WorkflowDispatchEvent<'a>
impl<'a> Sync for WorkflowDispatchEvent<'a>
impl<'a> Unpin for WorkflowDispatchEvent<'a>
impl<'a> UnwindSafe for WorkflowDispatchEvent<'a>
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