pub struct MutResult {
pub ok: bool,
pub report: String,
pub issue: Option<IssueDetail>,
pub revision: u64,
pub generation: u64,
}Expand description
Outcome of claim, note, or update.
Fields§
§ok: boolMutation succeeded.
report: StringStatus text from the op. Core includes a trailing newline.
issue: Option<IssueDetail>Issue after the write, when the backend returns one.
revision: u64Serve revision after the write. Core is 0.
generation: u64File-watcher generation after the write.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MutResult
impl RefUnwindSafe for MutResult
impl Send for MutResult
impl Sync for MutResult
impl Unpin for MutResult
impl UnsafeUnpin for MutResult
impl UnwindSafe for MutResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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