pub struct Report {
pub committed: bool,
pub dry_run: bool,
pub sha: Option<String>,
pub branch: Option<String>,
pub subject: String,
pub message: String,
pub files: Vec<File>,
pub newly_tracked: Vec<String>,
pub warnings: Vec<String>,
pub failure: Option<Failure>,
pub secret_scan: Option<SecretScan>,
pub left: Option<Vec<String>>,
}Fields§
§committed: bool§dry_run: bool§sha: Option<String>§branch: Option<String>§subject: String§message: StringThe whole message, trailers included.
files: Vec<File>§newly_tracked: Vec<String>Untracked files a named path covered, added by this commit.
warnings: Vec<String>§failure: Option<Failure>§secret_scan: Option<SecretScan>What the secret scan found, when one ran or was skipped.
left: Option<Vec<String>>What is still uncommitted after a commit: changed, staged or untracked
paths, as git’s status names them. None before a commit, or when git
could not say. Agents ran git status after each commit to learn it.
Implementations§
Trait Implementations§
impl Eq for Report
impl StructuralPartialEq for Report
Auto Trait Implementations§
impl Forget for Report
impl Freeze for Report
impl Move 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