Struct acick_config::Config [−][src]
pub struct Config {
pub service_id: ServiceKind,
pub contest_id: ContestId,
pub base_dir: AbsPathBuf,
// some fields omitted
}
Fields
service_id: ServiceKind
contest_id: ContestId
base_dir: AbsPathBuf
Implementations
pub fn load(
service_id: ServiceKind,
contest_id: ContestId,
base_dir: Option<AbsPathBuf>,
cnsl: &mut Console
) -> Result<Self>
pub fn move_testcases_dir(
&self,
problem: &Problem,
from: &AbsPathBuf,
cnsl: &mut Console
) -> Result<bool>
pub fn save_problem(
&self,
problem: &Problem,
overwrite: bool,
cnsl: &mut Console
) -> Result<Option<bool>>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more