pub struct PurposeConditionalApplyRequest {
pub task: String,
pub path: String,
pub work_key: String,
pub state_token: String,
pub purpose: String,
}Expand description
One stale-safe purpose approval copied from a queue item.
Fields§
§task: StringQueue task label.
path: StringExact repository-relative path.
work_key: StringQueue item work key.
state_token: StringQueue item current-row state token.
purpose: StringAgent-reviewed purpose to approve on an exact state match.
Trait Implementations§
Source§impl Clone for PurposeConditionalApplyRequest
impl Clone for PurposeConditionalApplyRequest
Source§fn clone(&self) -> PurposeConditionalApplyRequest
fn clone(&self) -> PurposeConditionalApplyRequest
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 PartialEq for PurposeConditionalApplyRequest
impl PartialEq for PurposeConditionalApplyRequest
Source§fn eq(&self, other: &PurposeConditionalApplyRequest) -> bool
fn eq(&self, other: &PurposeConditionalApplyRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PurposeConditionalApplyRequest
impl StructuralPartialEq for PurposeConditionalApplyRequest
Auto Trait Implementations§
impl Freeze for PurposeConditionalApplyRequest
impl RefUnwindSafe for PurposeConditionalApplyRequest
impl Send for PurposeConditionalApplyRequest
impl Sync for PurposeConditionalApplyRequest
impl Unpin for PurposeConditionalApplyRequest
impl UnwindSafe for PurposeConditionalApplyRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more