#[non_exhaustive]pub struct ApprovalListPendingResult {
pub approvals: Vec<ApprovalRequestParams>,
pub user_inputs: Vec<UserInputRequestParams>,
}Expand description
approval/listPending result. Ordering is by opening viewCursor; empty
arrays when nothing is pending. The result is point-in-time — to act on it
race-safely, approval/decide carries the requirementId guard regardless
of how the client learned the state.
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.approvals: Vec<ApprovalRequestParams>Exactly the approval/request params, one per pending approval.
user_inputs: Vec<UserInputRequestParams>Exactly the userInput/request params, one per pending prompt.
Trait Implementations§
Source§impl Clone for ApprovalListPendingResult
impl Clone for ApprovalListPendingResult
Source§impl Debug for ApprovalListPendingResult
impl Debug for ApprovalListPendingResult
Source§impl<'de> Deserialize<'de> for ApprovalListPendingResult
impl<'de> Deserialize<'de> for ApprovalListPendingResult
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 ApprovalListPendingResult
impl StructuralPartialEq for ApprovalListPendingResult
Auto Trait Implementations§
impl Freeze for ApprovalListPendingResult
impl RefUnwindSafe for ApprovalListPendingResult
impl Send for ApprovalListPendingResult
impl Sync for ApprovalListPendingResult
impl Unpin for ApprovalListPendingResult
impl UnsafeUnpin for ApprovalListPendingResult
impl UnwindSafe for ApprovalListPendingResult
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