pub struct PendingApprovalContext {
pub request_id: Option<String>,
pub tool_name: String,
pub command: Option<String>,
pub network: Option<NetworkApprovalContext>,
pub payload_digest: Option<String>,
}Expand description
Exact effect context bound to a pending approval callback.
Fields§
§request_id: Option<String>§tool_name: String§command: Option<String>§network: Option<NetworkApprovalContext>§payload_digest: Option<String>EFF-002: digest of the final post-transform payload shown to the approver. Session grants bind to it. Optional for back-compat.
Trait Implementations§
Source§impl Clone for PendingApprovalContext
impl Clone for PendingApprovalContext
Source§impl Debug for PendingApprovalContext
impl Debug for PendingApprovalContext
Source§impl<'de> Deserialize<'de> for PendingApprovalContext
impl<'de> Deserialize<'de> for PendingApprovalContext
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 PendingApprovalContext
Source§impl PartialEq for PendingApprovalContext
impl PartialEq for PendingApprovalContext
Source§impl Serialize for PendingApprovalContext
impl Serialize for PendingApprovalContext
impl StructuralPartialEq for PendingApprovalContext
Auto Trait Implementations§
impl Freeze for PendingApprovalContext
impl RefUnwindSafe for PendingApprovalContext
impl Send for PendingApprovalContext
impl Sync for PendingApprovalContext
impl Unpin for PendingApprovalContext
impl UnsafeUnpin for PendingApprovalContext
impl UnwindSafe for PendingApprovalContext
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