pub struct PinVerifyResult {
pub modified: Vec<PinMismatch>,
pub added: Vec<String>,
pub removed: Vec<String>,
pub has_changes: bool,
}Expand description
Result of verifying pins against current configuration.
Fields§
§modified: Vec<PinMismatch>Tools that have been modified since pinning.
added: Vec<String>Tools that were added since pinning.
removed: Vec<String>Tools that were removed since pinning.
has_changes: boolWhether any changes were detected.
Implementations§
Source§impl PinVerifyResult
impl PinVerifyResult
Sourcepub fn format_terminal(&self) -> String
pub fn format_terminal(&self) -> String
Format the result for terminal output.
Trait Implementations§
Source§impl Clone for PinVerifyResult
impl Clone for PinVerifyResult
Source§fn clone(&self) -> PinVerifyResult
fn clone(&self) -> PinVerifyResult
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 PinVerifyResult
impl Debug for PinVerifyResult
Source§impl<'de> Deserialize<'de> for PinVerifyResult
impl<'de> Deserialize<'de> for PinVerifyResult
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 PinVerifyResult
impl RefUnwindSafe for PinVerifyResult
impl Send for PinVerifyResult
impl Sync for PinVerifyResult
impl Unpin for PinVerifyResult
impl UnwindSafe for PinVerifyResult
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