pub struct BookEndAttributesDecoration {
pub name: Option<&'static str>,
pub description: Option<&'static str>,
pub location: ComponentLocation,
pub ignore: Option<bool>,
pub time_limit: Option<Duration>,
pub concurrency_mode: Option<ConcurrencyMode>,
}
Fields
name: Option<&'static str>
description: Option<&'static str>
location: ComponentLocation
The source code location of this bookend
ignore: Option<bool>
Indicates that bookend should not be run.
time_limit: Option<Duration>
Describes the maximum duration a bookend can take before it is forcibly aborted
concurrency_mode: Option<ConcurrencyMode>
The concurrency mode which this bookend will adhere to.
ConcurrencyMode::Parallel
will allow this bookend for be run at the same time as other bookends within this suite
ConcurrencyMode::Sequential
will ensure that this bookend wont run at the same time as any other bookend from this suite
Trait Implementations
sourceimpl Clone for BookEndAttributesDecoration
impl Clone for BookEndAttributesDecoration
sourcefn clone(&self) -> BookEndAttributesDecoration
fn clone(&self) -> BookEndAttributesDecoration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for BookEndAttributesDecoration
impl Debug for BookEndAttributesDecoration
sourceimpl Hash for BookEndAttributesDecoration
impl Hash for BookEndAttributesDecoration
sourceimpl PartialEq<BookEndAttributesDecoration> for BookEndAttributesDecoration
impl PartialEq<BookEndAttributesDecoration> for BookEndAttributesDecoration
sourcefn eq(&self, other: &BookEndAttributesDecoration) -> bool
fn eq(&self, other: &BookEndAttributesDecoration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BookEndAttributesDecoration) -> bool
fn ne(&self, other: &BookEndAttributesDecoration) -> bool
This method tests for !=
.
impl Eq for BookEndAttributesDecoration
impl StructuralEq for BookEndAttributesDecoration
impl StructuralPartialEq for BookEndAttributesDecoration
Auto Trait Implementations
impl RefUnwindSafe for BookEndAttributesDecoration
impl Send for BookEndAttributesDecoration
impl Sync for BookEndAttributesDecoration
impl Unpin for BookEndAttributesDecoration
impl UnwindSafe for BookEndAttributesDecoration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more