MCPcopy Create free account
hub / github.com/ExtropyIO/SolanaBootcamp / Exercise

Class Exercise

homeworks_rust/src/exercise.rs:46–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44// This is deserialized from the accompanying info.toml file
45#[derive(Deserialize, Debug, Clone)]
46pub struct Exercise {
47 // Name of the exercise
48 pub name: String,
49 // The path to the file containing the exercise's source code
50 pub path: PathBuf,
51 // The mode of the exercise (Test, Compile, or Clippy)
52 pub mode: Mode,
53 // The hint text associated with the exercise
54 pub hint: String,
55}
56
57// An enum to track of the state of an Exercise.
58// An Exercise can be either Done or Pending

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected