pub struct GitAutomationStateUpdateInput {
pub state_id: Option<String>,
pub target_branch_id: Option<String>,
pub event: Option<GitAutomationStates>,
}Fields§
§state_id: Option<String>The associated workflow state.
target_branch_id: Option<String>The associated target branch. If null, all branches are targeted.
event: Option<GitAutomationStates>The event that triggers the automation.
Trait Implementations§
Source§impl Clone for GitAutomationStateUpdateInput
impl Clone for GitAutomationStateUpdateInput
Source§fn clone(&self) -> GitAutomationStateUpdateInput
fn clone(&self) -> GitAutomationStateUpdateInput
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 Default for GitAutomationStateUpdateInput
impl Default for GitAutomationStateUpdateInput
Source§fn default() -> GitAutomationStateUpdateInput
fn default() -> GitAutomationStateUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitAutomationStateUpdateInput
impl<'de> Deserialize<'de> for GitAutomationStateUpdateInput
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 GitAutomationStateUpdateInput
impl RefUnwindSafe for GitAutomationStateUpdateInput
impl Send for GitAutomationStateUpdateInput
impl Sync for GitAutomationStateUpdateInput
impl Unpin for GitAutomationStateUpdateInput
impl UnwindSafe for GitAutomationStateUpdateInput
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