pub struct AuthorityDiff {
pub dimensions: Vec<DimensionDelta>,
pub egress_added: Vec<String>,
pub egress_removed: Vec<String>,
pub fs_read_added: Vec<String>,
pub fs_read_removed: Vec<String>,
pub fs_write_added: Vec<String>,
pub fs_write_removed: Vec<String>,
pub off_lattice_added: Vec<String>,
pub off_lattice_removed: Vec<String>,
pub lost_net_precision: bool,
pub verdict: Verdict,
}Expand description
The authority delta between two versions of a program — the artifact a reviewer reads next to the source diff.
Fields§
§dimensions: Vec<DimensionDelta>Dimensions whose level moved, in Dimension::ALL order.
egress_added: Vec<String>§egress_removed: Vec<String>§fs_read_added: Vec<String>§fs_read_removed: Vec<String>§fs_write_added: Vec<String>§fs_write_removed: Vec<String>§off_lattice_added: Vec<String>Effect kinds outside the trust lattice the head declares and the base did not. No grant refuses these, which is exactly why a review should see them.
off_lattice_removed: Vec<String>§lost_net_precision: boolThe head carries a bare [net] where the base’s network reach
was real and fully host-scoped: the same coarse level, less
static precision, so it counts as a widening.
verdict: VerdictImplementations§
Trait Implementations§
Source§impl Clone for AuthorityDiff
impl Clone for AuthorityDiff
Source§fn clone(&self) -> AuthorityDiff
fn clone(&self) -> AuthorityDiff
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 AuthorityDiff
impl Debug for AuthorityDiff
Source§impl<'de> Deserialize<'de> for AuthorityDiff
impl<'de> Deserialize<'de> for AuthorityDiff
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 AuthorityDiff
Source§impl PartialEq for AuthorityDiff
impl PartialEq for AuthorityDiff
Source§impl Serialize for AuthorityDiff
impl Serialize for AuthorityDiff
impl StructuralPartialEq for AuthorityDiff
Auto Trait Implementations§
impl Freeze for AuthorityDiff
impl RefUnwindSafe for AuthorityDiff
impl Send for AuthorityDiff
impl Sync for AuthorityDiff
impl Unpin for AuthorityDiff
impl UnsafeUnpin for AuthorityDiff
impl UnwindSafe for AuthorityDiff
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.