Struct SopDecideRequest
pub struct SopDecideRequest {
pub name: String,
pub run_id: String,
pub decision: Value,
}Expand description
Request payload for sops/decide: resolve a paused checkpoint. name and
run_id select the run; decision is the raw ApprovalDecision wire value
("approve" or {"deny": {"reason": "..."}}), deserialized into the
canonical runtime enum by the handler so no parallel decision enum exists
here to drift from it.
Fields§
§name: String§run_id: String§decision: ValueTrait Implementations§
Source§impl Clone for SopDecideRequest
impl Clone for SopDecideRequest
Source§fn clone(&self) -> SopDecideRequest
fn clone(&self) -> SopDecideRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SopDecideRequest
impl Debug for SopDecideRequest
Source§impl<'de> Deserialize<'de> for SopDecideRequest
impl<'de> Deserialize<'de> for SopDecideRequest
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 SopDecideRequest
impl RefUnwindSafe for SopDecideRequest
impl Send for SopDecideRequest
impl Sync for SopDecideRequest
impl Unpin for SopDecideRequest
impl UnsafeUnpin for SopDecideRequest
impl UnwindSafe for SopDecideRequest
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