#[non_exhaustive]pub struct PendingApproval {
pub approval_id: String,
pub requested: Value,
pub latest_update: Option<Value>,
}Expand description
An approval awaiting its first durable terminal.
Callers only receive it, so it is #[non_exhaustive]: a later field
breaks no caller (as for the received wire structs).
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.approval_id: StringThe approvalId the host minted for this approval.
requested: ValueThe latest approval/requested params, verbatim.
latest_update: Option<Value>The most recent approval/updated refresh since that request, if any.
Trait Implementations§
Source§impl Clone for PendingApproval
impl Clone for PendingApproval
Source§impl Debug for PendingApproval
impl Debug for PendingApproval
Source§impl PartialEq for PendingApproval
impl PartialEq for PendingApproval
impl StructuralPartialEq for PendingApproval
Auto Trait Implementations§
impl Forget for PendingApproval
impl Freeze for PendingApproval
impl Move for PendingApproval
impl RefUnwindSafe for PendingApproval
impl Send for PendingApproval
impl Sync for PendingApproval
impl Unpin for PendingApproval
impl UnsafeUnpin for PendingApproval
impl UnwindSafe for PendingApproval
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