pub struct ApprovalsQuery {
pub harness: Option<String>,
pub session: Option<String>,
}Expand description
harness.v1.approvals.list request.
Fields§
§harness: Option<String>Only this harness. Omit for every harness.
session: Option<String>Only this session (a harness-native session id, or a child agent id for supercode’s queued subagent rows).
Implementations§
Source§impl ApprovalsQuery
impl ApprovalsQuery
Sourcepub fn matches(&self, row: &ApprovalRow) -> bool
pub fn matches(&self, row: &ApprovalRow) -> bool
Whether one row survives this query’s filters.
Trait Implementations§
Source§impl Clone for ApprovalsQuery
impl Clone for ApprovalsQuery
Source§fn clone(&self) -> ApprovalsQuery
fn clone(&self) -> ApprovalsQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApprovalsQuery
impl Debug for ApprovalsQuery
Source§impl Default for ApprovalsQuery
impl Default for ApprovalsQuery
Source§fn default() -> ApprovalsQuery
fn default() -> ApprovalsQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApprovalsQuerywhere
ApprovalsQuery: Default,
impl<'de> Deserialize<'de> for ApprovalsQuerywhere
ApprovalsQuery: Default,
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 ApprovalsQuery
Source§impl PartialEq for ApprovalsQuery
impl PartialEq for ApprovalsQuery
Source§impl Serialize for ApprovalsQuery
impl Serialize for ApprovalsQuery
impl StructuralPartialEq for ApprovalsQuery
Auto Trait Implementations§
impl Freeze for ApprovalsQuery
impl RefUnwindSafe for ApprovalsQuery
impl Send for ApprovalsQuery
impl Sync for ApprovalsQuery
impl Unpin for ApprovalsQuery
impl UnsafeUnpin for ApprovalsQuery
impl UnwindSafe for ApprovalsQuery
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.