pub struct ApprovalDiff {
pub options: Vec<OptionChange>,
pub removes: Vec<RemovedUnit>,
pub note: Option<String>,
}Expand description
§16 (owner decision, Nov 2): the configuration a generation transition
that asks would apply, as a person sees it in planarian approve, the
console and the notice, and as an agent reads it (approve --json).
Fields§
§options: Vec<OptionChange>Every option added, removed or changed; Security- and External-sensitive ones first, then by path.
removes: Vec<RemovedUnit>The units it would remove or stop, with their sensitivity; Security- and External-sensitive ones first.
note: Option<String>Said when the core could not read the evaluated generations: the options shown are the requested settings only, not the whole change.
Implementations§
Trait Implementations§
Source§impl Clone for ApprovalDiff
impl Clone for ApprovalDiff
Source§fn clone(&self) -> ApprovalDiff
fn clone(&self) -> ApprovalDiff
Returns a duplicate of the value. Read more
1.0.0 · 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 ApprovalDiff
impl Debug for ApprovalDiff
Source§impl Default for ApprovalDiff
impl Default for ApprovalDiff
Source§fn default() -> ApprovalDiff
fn default() -> ApprovalDiff
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApprovalDiff
impl<'de> Deserialize<'de> for ApprovalDiff
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 ApprovalDiff
impl PartialEq for ApprovalDiff
Source§impl Serialize for ApprovalDiff
impl Serialize for ApprovalDiff
impl Eq for ApprovalDiff
impl StructuralPartialEq for ApprovalDiff
Auto Trait Implementations§
impl Freeze for ApprovalDiff
impl RefUnwindSafe for ApprovalDiff
impl Send for ApprovalDiff
impl Sync for ApprovalDiff
impl Unpin for ApprovalDiff
impl UnsafeUnpin for ApprovalDiff
impl UnwindSafe for ApprovalDiff
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