pub struct Report {
pub key_created: bool,
pub config_written: bool,
pub attributes_written: bool,
pub config_file_created: bool,
pub warnings: Vec<String>,
}Expand description
What init changed, so it can tell the user rather than work in silence.
Fields§
§key_created: boolA key was generated. False when an existing one was left alone.
config_written: boolThe filter registration was written or repaired.
attributes_written: boolThe managed section in .gitattributes was written or repaired.
config_file_created: boolThe .git-xcrypt file was created.
warnings: Vec<String>Lines of .git-xcrypt that declare something pointless.
Carried out rather than printed here so the binary owns every message.
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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