pub struct GateNode {
pub name: String,
pub gate_type: String,
pub prompt: Option<String>,
pub min_approvals: u32,
pub approval_mode: ApprovalMode,
pub timeout_secs: u64,
pub on_timeout: OnTimeout,
pub as_identity: Option<String>,
pub quality_gate: Option<QualityGateConfig>,
pub options: Option<GateOptions>,
}Fields§
§name: String§gate_type: String§prompt: Option<String>§min_approvals: u32§approval_mode: ApprovalMode§timeout_secs: u64§on_timeout: OnTimeout§as_identity: Option<String>Named GitHub App bot identity used for gh calls inside this gate.
quality_gate: Option<QualityGateConfig>Quality gate-specific configuration. Present only when gate_type == QUALITY_GATE_TYPE.
options: Option<GateOptions>Optional multi-select options for human_approval / human_review gates.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GateNode
impl<'de> Deserialize<'de> for GateNode
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 GateNode
impl RefUnwindSafe for GateNode
impl Send for GateNode
impl Sync for GateNode
impl Unpin for GateNode
impl UnsafeUnpin for GateNode
impl UnwindSafe for GateNode
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