pub struct GitAutomationStateCreateInput {
pub id: Option<String>,
pub team_id: Option<String>,
pub state_id: Option<String>,
pub target_branch_id: Option<String>,
pub event: Option<GitAutomationStates>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
team_id: Option<String>The team associated with the automation state.
state_id: Option<String>The associated workflow state. If null, will override default behaviour and take no action.
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 GitAutomationStateCreateInput
impl Clone for GitAutomationStateCreateInput
Source§fn clone(&self) -> GitAutomationStateCreateInput
fn clone(&self) -> GitAutomationStateCreateInput
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 GitAutomationStateCreateInput
impl Default for GitAutomationStateCreateInput
Source§fn default() -> GitAutomationStateCreateInput
fn default() -> GitAutomationStateCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GitAutomationStateCreateInput
impl<'de> Deserialize<'de> for GitAutomationStateCreateInput
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 GitAutomationStateCreateInput
impl RefUnwindSafe for GitAutomationStateCreateInput
impl Send for GitAutomationStateCreateInput
impl Sync for GitAutomationStateCreateInput
impl Unpin for GitAutomationStateCreateInput
impl UnwindSafe for GitAutomationStateCreateInput
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