#[non_exhaustive]pub struct SaveResult {
pub changed_files: Vec<PathBuf>,
pub diff_summary: Vec<DiffItem>,
pub requires_reload: bool,
}Expand description
Outcome of Workspace::save.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.changed_files: Vec<PathBuf>TOML files actually written to disk.
diff_summary: Vec<DiffItem>One entry per node that changed since last load.
requires_reload: boolTrait Implementations§
Source§impl Clone for SaveResult
impl Clone for SaveResult
Source§fn clone(&self) -> SaveResult
fn clone(&self) -> SaveResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SaveResult
impl Debug for SaveResult
Auto Trait Implementations§
impl Freeze for SaveResult
impl RefUnwindSafe for SaveResult
impl Send for SaveResult
impl Sync for SaveResult
impl Unpin for SaveResult
impl UnsafeUnpin for SaveResult
impl UnwindSafe for SaveResult
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