#[non_exhaustive]pub struct ApprovalDecideResult {
pub command_id: String,
pub status: CommandStatus,
pub approval_id: String,
pub terminal: bool,
}Expand description
approval/decide result. Admission-ack rules still apply: the authoritative
outcome is approval/resolved / approval/updated on the view stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.command_id: StringEchoes the client’s id.
status: CommandStatusAdmission status.
approval_id: StringThe approval this decision was applied to.
terminal: boolfalse when the choice satisfied a stage but further requirements
remain (the approval stays pending and an updated approval/request
follows); true when this decision produced the terminal
DecisionApplied.
Trait Implementations§
Source§impl Clone for ApprovalDecideResult
impl Clone for ApprovalDecideResult
Source§impl Debug for ApprovalDecideResult
impl Debug for ApprovalDecideResult
Source§impl<'de> Deserialize<'de> for ApprovalDecideResult
impl<'de> Deserialize<'de> for ApprovalDecideResult
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
impl Eq for ApprovalDecideResult
Source§impl PartialEq for ApprovalDecideResult
impl PartialEq for ApprovalDecideResult
Source§impl Serialize for ApprovalDecideResult
impl Serialize for ApprovalDecideResult
impl StructuralPartialEq for ApprovalDecideResult
Auto Trait Implementations§
impl Forget for ApprovalDecideResult
impl Freeze for ApprovalDecideResult
impl Move for ApprovalDecideResult
impl RefUnwindSafe for ApprovalDecideResult
impl Send for ApprovalDecideResult
impl Sync for ApprovalDecideResult
impl Unpin for ApprovalDecideResult
impl UnsafeUnpin for ApprovalDecideResult
impl UnwindSafe for ApprovalDecideResult
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