pub struct SessionPermissionsPendingRequestsResult {
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 SessionPermissionsPendingRequestsResult
impl Clone for SessionPermissionsPendingRequestsResult
Source§fn clone(&self) -> SessionPermissionsPendingRequestsResult
fn clone(&self) -> SessionPermissionsPendingRequestsResult
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 Default for SessionPermissionsPendingRequestsResult
impl Default for SessionPermissionsPendingRequestsResult
Source§fn default() -> SessionPermissionsPendingRequestsResult
fn default() -> SessionPermissionsPendingRequestsResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionPermissionsPendingRequestsResult
impl<'de> Deserialize<'de> for SessionPermissionsPendingRequestsResult
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 SessionPermissionsPendingRequestsResult
impl RefUnwindSafe for SessionPermissionsPendingRequestsResult
impl Send for SessionPermissionsPendingRequestsResult
impl Sync for SessionPermissionsPendingRequestsResult
impl Unpin for SessionPermissionsPendingRequestsResult
impl UnsafeUnpin for SessionPermissionsPendingRequestsResult
impl UnwindSafe for SessionPermissionsPendingRequestsResult
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