pub struct Refreshed {
pub status: StatusModel,
pub model: DiffModel,
pub against: Option<(String, Result<DiffModel, VcsError>)>,
pub pinned: Option<Result<DiffModel, VcsError>>,
pub head: Result<HeadInfo, VcsError>,
pub commits: Result<CommitLists, VcsError>,
pub jj: Result<Option<JjView>, VcsError>,
}Fields§
§status: StatusModel§model: DiffModel§against: Option<(String, Result<DiffModel, VcsError>)>The ReviewSource::Against rev asked about and its diff. We carry
the rev so a review swapped while the worker ran drops the answer.
pinned: Option<Result<DiffModel, VcsError>>§head: Result<HeadInfo, VcsError>§commits: Result<CommitLists, VcsError>§jj: Result<Option<JjView>, VcsError>Read here since it costs jj runs; the UI’s own handle adopts it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Refreshed
impl !UnwindSafe for Refreshed
impl Freeze for Refreshed
impl Send for Refreshed
impl Sync for Refreshed
impl Unpin for Refreshed
impl UnsafeUnpin for Refreshed
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