pub struct ThreadListOptions {
pub include_auto: bool,
pub include_abandoned: bool,
}Expand description
Options for list_threads.
Fields§
§include_auto: boolWhen false (default for CLI), harness-created (auto) threads are
omitted unless they are the current checkout lane.
include_abandoned: boolWhen false (default for CLI), abandoned threads are omitted unless
they are the current checkout lane.
Implementations§
Source§impl ThreadListOptions
impl ThreadListOptions
pub fn new() -> Self
pub fn include_auto(self, include_auto: bool) -> Self
pub fn include_abandoned(self, include_abandoned: bool) -> Self
Trait Implementations§
Source§impl Clone for ThreadListOptions
impl Clone for ThreadListOptions
Source§fn clone(&self) -> ThreadListOptions
fn clone(&self) -> ThreadListOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ThreadListOptions
Source§impl Debug for ThreadListOptions
impl Debug for ThreadListOptions
Source§impl Default for ThreadListOptions
impl Default for ThreadListOptions
Source§fn default() -> ThreadListOptions
fn default() -> ThreadListOptions
Returns the “default value” for a type. Read more
impl Eq for ThreadListOptions
Source§impl PartialEq for ThreadListOptions
impl PartialEq for ThreadListOptions
impl StructuralPartialEq for ThreadListOptions
Auto Trait Implementations§
impl Freeze for ThreadListOptions
impl RefUnwindSafe for ThreadListOptions
impl Send for ThreadListOptions
impl Sync for ThreadListOptions
impl Unpin for ThreadListOptions
impl UnsafeUnpin for ThreadListOptions
impl UnwindSafe for ThreadListOptions
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