pub struct ApprovalsIndex {
pub type_: String,
pub schema_version: u32,
pub grants: Vec<String>,
pub uses: Vec<String>,
pub checkpoints: Vec<String>,
pub revocations: Vec<String>,
}Expand description
approvals/index.json – top-level inventory of evidence in the
package. Lets a consumer pre-flight what’s there before opening
every file; doubles as a stable shape for downstream tooling.
Fields§
§type_: StringStable schema marker so future versions can fan out cleanly.
schema_version: u32§grants: Vec<String>Stable kebab-case ids of grants present. Order matches
grants/ filename order.
uses: Vec<String>Use ids present.
checkpoints: Vec<String>§revocations: Vec<String>Implementations§
Source§impl ApprovalsIndex
impl ApprovalsIndex
pub fn type_string() -> &'static str
Trait Implementations§
Source§impl Clone for ApprovalsIndex
impl Clone for ApprovalsIndex
Source§fn clone(&self) -> ApprovalsIndex
fn clone(&self) -> ApprovalsIndex
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 ApprovalsIndex
impl Debug for ApprovalsIndex
Source§impl<'de> Deserialize<'de> for ApprovalsIndex
impl<'de> Deserialize<'de> for ApprovalsIndex
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 ApprovalsIndex
impl RefUnwindSafe for ApprovalsIndex
impl Send for ApprovalsIndex
impl Sync for ApprovalsIndex
impl Unpin for ApprovalsIndex
impl UnsafeUnpin for ApprovalsIndex
impl UnwindSafe for ApprovalsIndex
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