pub struct ActResult {
pub page_id: String,
pub node_ref: String,
pub epoch: u64,
pub diff: ObservationDiff,
pub repeats: u32,
}Expand description
The result of one BrowserPage::act.
Fields§
§page_id: String§node_ref: StringThe ref the action ran on.
epoch: u64The page’s epoch after the action. When it differs from diff.epoch_before, every earlier ref is
refused: use the refs in diff, or call observe for the whole tree.
diff: ObservationDiff§repeats: u32How many times in a row this same action has now run on this same ref with no diff (0 after a diff).
Trait Implementations§
Auto Trait Implementations§
impl Forget for ActResult
impl Freeze for ActResult
impl Move for ActResult
impl RefUnwindSafe for ActResult
impl Send for ActResult
impl Sync for ActResult
impl Unpin for ActResult
impl UnsafeUnpin for ActResult
impl UnwindSafe for ActResult
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