pub struct PendingQuery {
pub subject_id: Option<String>,
pub tool_server: Option<String>,
pub tool_name: Option<String>,
pub not_expired_at: Option<u64>,
pub limit: Option<usize>,
}Expand description
Query parameters for GET /approvals/pending.
Fields§
§subject_id: Option<String>§tool_server: Option<String>§tool_name: Option<String>§not_expired_at: Option<u64>§limit: Option<usize>Trait Implementations§
Source§impl Clone for PendingQuery
impl Clone for PendingQuery
Source§fn clone(&self) -> PendingQuery
fn clone(&self) -> PendingQuery
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 Debug for PendingQuery
impl Debug for PendingQuery
Source§impl Default for PendingQuery
impl Default for PendingQuery
Source§fn default() -> PendingQuery
fn default() -> PendingQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PendingQuery
impl<'de> Deserialize<'de> for PendingQuery
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
Source§impl From<PendingQuery> for ApprovalFilter
impl From<PendingQuery> for ApprovalFilter
Source§fn from(q: PendingQuery) -> Self
fn from(q: PendingQuery) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PendingQuery
impl RefUnwindSafe for PendingQuery
impl Send for PendingQuery
impl Sync for PendingQuery
impl Unpin for PendingQuery
impl UnsafeUnpin for PendingQuery
impl UnwindSafe for PendingQuery
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