pub struct CommitAttemptResult {
pub had_error: bool,
pub output_valid: bool,
pub message: Option<String>,
pub skip_reason: Option<String>,
pub files: Vec<String>,
pub excluded_files: Vec<ExcludedFile>,
pub validation_detail: String,
pub auth_failure: bool,
}Expand description
Outcome from a single commit attempt.
Fields§
§had_error: bool§output_valid: bool§message: Option<String>§skip_reason: Option<String>§files: Vec<String>§excluded_files: Vec<ExcludedFile>§validation_detail: String§auth_failure: boolAuto Trait Implementations§
impl Freeze for CommitAttemptResult
impl RefUnwindSafe for CommitAttemptResult
impl Send for CommitAttemptResult
impl Sync for CommitAttemptResult
impl Unpin for CommitAttemptResult
impl UnsafeUnpin for CommitAttemptResult
impl UnwindSafe for CommitAttemptResult
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more