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 Forget for Patch
impl Freeze for Patch
impl Move for Patch
impl RefUnwindSafe for Patch
impl Send for Patchwhere
RawVecInner: Send,
impl Sync for Patchwhere
RawVecInner: Sync,
impl Unpin for Patch
impl UnsafeUnpin for Patch
impl UnwindSafe for Patchwhere
RawVecInner: UnwindSafe,
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