pub struct ApproveSheet {
pub sha256: Option<String>,
pub approves: Vec<String>,
pub blocked: Vec<String>,
pub autopilot_blocked: Option<String>,
pub sandbox: Option<String>,
pub grants: Vec<OfferedGrant>,
}Expand description
What the approve sheet shows besides the requirements: who can approve and run now, and what autopilot would hold.
Fields§
§sha256: Option<String>The approval digest Approve and Run would record now (decision
lines and frozen manifests): the click sends it back and is refused
when it no longer matches. None: it cannot be computed here.
approves: Vec<String>Decision lines the approval records.
blocked: Vec<String>Why Approve and Run is disabled now (each a line naming its cause); empty: it can run.
autopilot_blocked: Option<String>Why autopilot is disabled (no enforced sandbox); None: it can run.
sandbox: Option<String>The sandbox line (Seatbelt, network off).
grants: Vec<OfferedGrant>The grants autopilot may hold, none ticked by default.
Trait Implementations§
Source§impl Clone for ApproveSheet
impl Clone for ApproveSheet
Source§impl Debug for ApproveSheet
impl Debug for ApproveSheet
Source§impl<'de> Deserialize<'de> for ApproveSheet
impl<'de> Deserialize<'de> for ApproveSheet
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 ApproveSheet
Source§impl JsonSchema for ApproveSheet
impl JsonSchema for ApproveSheet
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ApproveSheet
impl PartialEq for ApproveSheet
Source§impl Serialize for ApproveSheet
impl Serialize for ApproveSheet
impl StructuralPartialEq for ApproveSheet
Auto Trait Implementations§
impl Freeze for ApproveSheet
impl RefUnwindSafe for ApproveSheet
impl Send for ApproveSheet
impl Sync for ApproveSheet
impl Unpin for ApproveSheet
impl UnsafeUnpin for ApproveSheet
impl UnwindSafe for ApproveSheet
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