Struct speedrun_api::types::Ruleset
source · [−]pub struct Ruleset {
pub show_milliseconds: bool,
pub require_verification: bool,
pub require_video: bool,
pub run_times: Vec<TimingMethod>,
pub default_time: TimingMethod,
pub emulators_allowed: bool,
}Fields
show_milliseconds: boolrequire_verification: boolrequire_video: boolrun_times: Vec<TimingMethod>default_time: TimingMethodemulators_allowed: boolTrait Implementations
sourceimpl<'de> Deserialize<'de> for Ruleset
impl<'de> Deserialize<'de> for Ruleset
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 PartialEq<Ruleset> for Ruleset
impl PartialEq<Ruleset> for Ruleset
impl StructuralPartialEq for Ruleset
Auto Trait Implementations
impl RefUnwindSafe for Ruleset
impl Send for Ruleset
impl Sync for Ruleset
impl Unpin for Ruleset
impl UnwindSafe for Ruleset
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