pub struct StagedWrite {
pub key: String,
pub target_path: PathBuf,
pub content: String,
}Expand description
A single write operation that has been staged but not yet committed.
Fields§
§key: StringContent-addressed key — used to deduplicate identical staged writes.
target_path: PathBufThe absolute target path on the filesystem.
content: StringUTF-8 content to write on commit.
Trait Implementations§
Source§impl Clone for StagedWrite
impl Clone for StagedWrite
Source§fn clone(&self) -> StagedWrite
fn clone(&self) -> StagedWrite
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 moreAuto Trait Implementations§
impl Freeze for StagedWrite
impl RefUnwindSafe for StagedWrite
impl Send for StagedWrite
impl Sync for StagedWrite
impl Unpin for StagedWrite
impl UnsafeUnpin for StagedWrite
impl UnwindSafe for StagedWrite
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