pub struct V2ReleaseResult {
pub status: V2ReleaseStatus,
pub reason: String,
/* private fields */
}Expand description
The result of release_v2_decision. decision is present only when
status is released; reason is empty only when released. Only
V2ReleasedDecision::allowed may gate a side effect.
Fields§
§status: V2ReleaseStatus§reason: StringImplementations§
Source§impl V2ReleaseResult
impl V2ReleaseResult
Sourcepub fn decision(&self) -> Option<&V2ReleasedDecision>
pub fn decision(&self) -> Option<&V2ReleasedDecision>
The released decision (present only when released).
Sourcepub fn into_decision(self) -> Option<V2ReleasedDecision>
pub fn into_decision(self) -> Option<V2ReleasedDecision>
Take the released decision out of the result.
Trait Implementations§
Auto Trait Implementations§
impl Forget for V2ReleaseResult
impl Freeze for V2ReleaseResult
impl RefUnwindSafe for V2ReleaseResult
impl Send for V2ReleaseResult
impl Sync for V2ReleaseResult
impl Unpin for V2ReleaseResult
impl UnsafeUnpin for V2ReleaseResult
impl UnwindSafe for V2ReleaseResult
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