pub struct CourseInfo {
pub name: String,
pub constraint: Vec<String>,
pub trophy: Vec<Trophy>,
pub charts: Vec<ChartItem>,
}Expand description
Course information.
Describes a course’s name, constraints, trophies and chart set. During parsing, md5/sha256 lists are automatically converted into ChartItems, and charts missing level are filled with default value "0".
Fields§
§name: StringCourse name, e.g. “Satellite Skill Analyzer 2nd sl0”
constraint: Vec<String>Constraint list, e.g. [“grade_mirror”, “gauge_lr2”, “ln”]
trophy: Vec<Trophy>List of trophies, defining requirements for different ranks
charts: Vec<ChartItem>List of charts included in the course
Trait Implementations§
Source§impl Clone for CourseInfo
impl Clone for CourseInfo
Source§fn clone(&self) -> CourseInfo
fn clone(&self) -> CourseInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CourseInfo
impl Debug for CourseInfo
Source§impl<'de> Deserialize<'de> for CourseInfo
Available on crate feature serde only.
impl<'de> Deserialize<'de> for CourseInfo
Available on crate feature
serde only.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
Source§impl PartialEq for CourseInfo
impl PartialEq for CourseInfo
Source§impl Serialize for CourseInfo
impl Serialize for CourseInfo
impl StructuralPartialEq for CourseInfo
Auto Trait Implementations§
impl Freeze for CourseInfo
impl RefUnwindSafe for CourseInfo
impl Send for CourseInfo
impl Sync for CourseInfo
impl Unpin for CourseInfo
impl UnwindSafe for CourseInfo
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