pub struct StatusFacts {
pub path: PathBuf,
pub status: Option<Status>,
pub metadata: Option<FileMetadata>,
pub working: WorkingCopy,
pub baseline: Option<Baseline>,
pub code: Option<ErrorCode>,
pub error: Option<String>,
}Fields§
§path: PathBuf§status: Option<Status>None on an error or cancelled row, which code and error describe.
metadata: Option<FileMetadata>§working: WorkingCopy§baseline: Option<Baseline>§code: Option<ErrorCode>§error: Option<String>Implementations§
Source§impl StatusFacts
impl StatusFacts
Sourcepub fn status_name(&self) -> String
pub fn status_name(&self) -> String
The row’s status as shown to people and in results: error on an
error row, cancelled on a row a cancel stopped.
Trait Implementations§
Source§impl Clone for StatusFacts
impl Clone for StatusFacts
Source§impl Debug for StatusFacts
impl Debug for StatusFacts
Source§impl OperationRow for StatusFacts
impl OperationRow for StatusFacts
Auto Trait Implementations§
impl Freeze for StatusFacts
impl RefUnwindSafe for StatusFacts
impl Send for StatusFacts
impl Sync for StatusFacts
impl Unpin for StatusFacts
impl UnsafeUnpin for StatusFacts
impl UnwindSafe for StatusFacts
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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