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: bool§require_verification: bool§require_video: bool§run_times: Vec<TimingMethod>§default_time: TimingMethod§emulators_allowed: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Ruleset
impl<'de> Deserialize<'de> for Ruleset
Source§fn 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
impl StructuralPartialEq for Ruleset
Auto Trait Implementations§
impl Freeze for Ruleset
impl RefUnwindSafe for Ruleset
impl Send for Ruleset
impl Sync for Ruleset
impl Unpin for Ruleset
impl UnwindSafe for Ruleset
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