#[non_exhaustive]pub struct UnknownEntrant {
pub check: usize,
pub entrant: String,
}Expand description
A check names an entrant that isn’t in the run. Build it with
UnknownEntrant::new (ADR-0039).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.check: usizeThe check’s place in the list, from 0.
entrant: StringThe name.
Implementations§
Trait Implementations§
Source§impl Clone for UnknownEntrant
impl Clone for UnknownEntrant
Source§fn clone(&self) -> UnknownEntrant
fn clone(&self) -> UnknownEntrant
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 moreSource§impl Debug for UnknownEntrant
impl Debug for UnknownEntrant
Source§impl Display for UnknownEntrant
impl Display for UnknownEntrant
impl Eq for UnknownEntrant
Source§impl<R: Sides> From<UnknownEntrant> for PlaytestError<R>
impl<R: Sides> From<UnknownEntrant> for PlaytestError<R>
Source§fn from(e: UnknownEntrant) -> Self
fn from(e: UnknownEntrant) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnknownEntrant
impl PartialEq for UnknownEntrant
impl StructuralPartialEq for UnknownEntrant
Auto Trait Implementations§
impl Freeze for UnknownEntrant
impl RefUnwindSafe for UnknownEntrant
impl Send for UnknownEntrant
impl Sync for UnknownEntrant
impl Unpin for UnknownEntrant
impl UnsafeUnpin for UnknownEntrant
impl UnwindSafe for UnknownEntrant
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