pub struct PendingGrantRequest {
pub milestone_id: String,
pub kind: GrantKind,
pub command: String,
}Expand description
A parked capability-grant request (see MissionState::pending_grant_request).
Names the exact target a grant would unblock and the milestone whose
validation hit the boundary, so the operator’s approve/deny decision — and
the reducer’s cross-check on grant.approved/grant.denied — key off the
same target that was requested.
Fields§
§milestone_id: String§kind: GrantKind§command: StringThe granted target: a command string (Command), a repo-relative path
glob (TouchPath), a deny rule (WorkerDeny), or a host:port
destination (Egress). Named command for wire back-compat with the
original command-only grant events.
Trait Implementations§
Source§impl Clone for PendingGrantRequest
impl Clone for PendingGrantRequest
Source§fn clone(&self) -> PendingGrantRequest
fn clone(&self) -> PendingGrantRequest
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 PendingGrantRequest
impl Debug for PendingGrantRequest
Source§impl<'de> Deserialize<'de> for PendingGrantRequest
impl<'de> Deserialize<'de> for PendingGrantRequest
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
Source§impl PartialEq for PendingGrantRequest
impl PartialEq for PendingGrantRequest
Source§impl Serialize for PendingGrantRequest
impl Serialize for PendingGrantRequest
impl StructuralPartialEq for PendingGrantRequest
Auto Trait Implementations§
impl Freeze for PendingGrantRequest
impl RefUnwindSafe for PendingGrantRequest
impl Send for PendingGrantRequest
impl Sync for PendingGrantRequest
impl Unpin for PendingGrantRequest
impl UnsafeUnpin for PendingGrantRequest
impl UnwindSafe for PendingGrantRequest
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