pub struct SwarmSession {
pub session_name: String,
pub tag: String,
pub terminal: String,
pub working_dir: String,
pub round_size: usize,
pub waves: Vec<WaveState>,
pub started_at: String,
pub completed_at: Option<String>,
}๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesExpand description
Full swarm session state
Fieldsยง
ยงsession_name: String๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesSession name
tag: String๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesTag being executed
terminal: String๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesTerminal type
working_dir: String๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesWorking directory
round_size: usize๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesRound size (max tasks per round)
waves: Vec<WaveState>๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesWaves executed
started_at: String๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesSession start time
completed_at: Option<String>๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesSession end time
Implementationsยง
Sourceยงimpl SwarmSession
impl SwarmSession
pub fn new( session_name: &str, tag: &str, terminal: &str, working_dir: &str, round_size: usize, ) -> Self
๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartespub fn mark_complete(&mut self)
๐Deprecated since 1.33.0: Use
descartes ralph command instead. See https://github.com/pyrex41/descartesSourcepub fn total_tasks(&self) -> usize
๐Deprecated since 1.33.0: Use descartes ralph command instead. See https://github.com/pyrex41/descartes
pub fn total_tasks(&self) -> usize
descartes ralph command instead. See https://github.com/pyrex41/descartesGet total tasks executed
Sourcepub fn total_failures(&self) -> usize
๐Deprecated since 1.33.0: Use descartes ralph command instead. See https://github.com/pyrex41/descartes
pub fn total_failures(&self) -> usize
descartes ralph command instead. See https://github.com/pyrex41/descartesGet total failures
Sourcepub fn get_previous_summary(&self) -> Option<String>
๐Deprecated since 1.33.0: Use descartes ralph command instead. See https://github.com/pyrex41/descartes
pub fn get_previous_summary(&self) -> Option<String>
descartes ralph command instead. See https://github.com/pyrex41/descartesGet brief summary of the previous wave (if any) This is just โwhat was doneโ, not accumulated context
Trait Implementationsยง
Sourceยงimpl Clone for SwarmSession
impl Clone for SwarmSession
Sourceยงfn clone(&self) -> SwarmSession
fn clone(&self) -> SwarmSession
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for SwarmSession
impl Debug for SwarmSession
Sourceยงimpl<'de> Deserialize<'de> for SwarmSession
impl<'de> Deserialize<'de> for SwarmSession
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
Auto Trait Implementationsยง
impl Freeze for SwarmSession
impl RefUnwindSafe for SwarmSession
impl Send for SwarmSession
impl Sync for SwarmSession
impl Unpin for SwarmSession
impl UnwindSafe for SwarmSession
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> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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