pub struct Patch {
pub id: BlockId,
pub text: String,
}Expand description
Disk-document edits use stable slots. A group update replaces only that group’s text; prose strings leave this layer immediately and are retained by the existing private pages.
Fields§
§id: BlockId§text: StringAuto Trait Implementations§
impl Freeze for Patch
impl RefUnwindSafe for Patch
impl Send for Patch
impl Sync for Patch
impl Unpin for Patch
impl UnsafeUnpin for Patch
impl UnwindSafe for Patch
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