Enum speedrun_api::types::Status
source · [−]pub enum Status<'a> {
New,
Verified {
examiner: Option<UserId<'a>>,
verify_date: Option<String>,
},
Rejected {
examiner: UserId<'a>,
reason: String,
},
}Variants
New
Verified
Rejected
Trait Implementations
sourceimpl<'de, 'a> Deserialize<'de> for Status<'a>
impl<'de, 'a> Deserialize<'de> for Status<'a>
sourcefn 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
sourceimpl<'a> PartialEq<Status<'a>> for Status<'a>
impl<'a> PartialEq<Status<'a>> for Status<'a>
impl<'a> StructuralPartialEq for Status<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Status<'a>
impl<'a> Send for Status<'a>
impl<'a> Sync for Status<'a>
impl<'a> Unpin for Status<'a>
impl<'a> UnwindSafe for Status<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more