pub struct PendingPermissionRequestList {
pub items: Vec<PendingPermissionRequest>,
}Expand description
List of pending permission requests reconstructed from event history.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§items: Vec<PendingPermissionRequest>Pending permission prompts reconstructed from the session’s event history. Equivalent to the set of permission.requested events that have not yet been followed by a matching permission.completed event. Used by clients (e.g. the CLI) to hydrate UI for prompts that were emitted before the client attached to the session.
Trait Implementations§
Source§impl Clone for PendingPermissionRequestList
impl Clone for PendingPermissionRequestList
Source§fn clone(&self) -> PendingPermissionRequestList
fn clone(&self) -> PendingPermissionRequestList
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 PendingPermissionRequestList
impl Debug for PendingPermissionRequestList
Source§impl Default for PendingPermissionRequestList
impl Default for PendingPermissionRequestList
Source§fn default() -> PendingPermissionRequestList
fn default() -> PendingPermissionRequestList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PendingPermissionRequestList
impl<'de> Deserialize<'de> for PendingPermissionRequestList
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
Auto Trait Implementations§
impl Freeze for PendingPermissionRequestList
impl RefUnwindSafe for PendingPermissionRequestList
impl Send for PendingPermissionRequestList
impl Sync for PendingPermissionRequestList
impl Unpin for PendingPermissionRequestList
impl UnsafeUnpin for PendingPermissionRequestList
impl UnwindSafe for PendingPermissionRequestList
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