pub struct CloseResult {
pub unit: Unit,
pub archive_path: PathBuf,
pub auto_closed_parents: Vec<String>,
pub on_close_results: Vec<OnCloseActionResult>,
pub warnings: Vec<CloseWarning>,
pub auto_commit_result: Option<AutoCommitResult>,
}Expand description
Details of a successful close.
Fields§
§unit: Unit§archive_path: PathBuf§auto_closed_parents: Vec<String>§on_close_results: Vec<OnCloseActionResult>§warnings: Vec<CloseWarning>§auto_commit_result: Option<AutoCommitResult>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CloseResult
impl RefUnwindSafe for CloseResult
impl Send for CloseResult
impl Sync for CloseResult
impl Unpin for CloseResult
impl UnsafeUnpin for CloseResult
impl UnwindSafe for CloseResult
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