pub struct RoundsAnswer {
pub run: RunId,
pub turns: Vec<Turn>,
pub opened_at: Option<GitOid>,
pub opening: Option<Opening>,
pub closing: Option<Closing>,
pub worktree: Option<String>,
}Expand description
One session’s rounds, oldest first.
Fields§
§run: RunId§turns: Vec<Turn>§opened_at: Option<GitOid>The checkpoint this session’s changes are measured from: its first checkpoint, because that is the tree as the work found it. Measuring from the latest one would answer “what moved in the last wave”, which is a different question.
opening: Option<Opening>Absent when the window this answer reads did not hold the
session’s run_started; what the window does not hold is not
guessed.
closing: Option<Closing>Absent while the session is still going, or when the window did
not reach its run_frozen.
worktree: Option<String>The name of the worktree this run was lent, from its own
worktree_opened: a name, never a path, which is a fact about one
machine. Absent for a run that worked in its building’s own tree,
and when the window did not reach that line.
Trait Implementations§
Source§impl Clone for RoundsAnswer
impl Clone for RoundsAnswer
Source§impl Debug for RoundsAnswer
impl Debug for RoundsAnswer
Source§impl<'de> Deserialize<'de> for RoundsAnswer
impl<'de> Deserialize<'de> for RoundsAnswer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RoundsAnswer
impl PartialEq for RoundsAnswer
Source§impl Serialize for RoundsAnswer
impl Serialize for RoundsAnswer
impl StructuralPartialEq for RoundsAnswer
Auto Trait Implementations§
impl Freeze for RoundsAnswer
impl RefUnwindSafe for RoundsAnswer
impl Send for RoundsAnswer
impl Sync for RoundsAnswer
impl Unpin for RoundsAnswer
impl UnsafeUnpin for RoundsAnswer
impl UnwindSafe for RoundsAnswer
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