Struct umm::grade::GradescopeLeaderboardEntry
source · pub struct GradescopeLeaderboardEntry {
pub name: String,
pub value: String,
pub order: Option<String>,
}
Expand description
Represents an entry in the leaderboard.
Fields§
§name: String
Name of the leaderboard metric.
value: String
Value of the leaderboard metric.
order: Option<String>
Optional ordering for the leaderboard metric.
Implementations§
source§impl GradescopeLeaderboardEntry
impl GradescopeLeaderboardEntry
sourcepub fn builder() -> GradescopeLeaderboardEntryBuilder<((), (), ())>
pub fn builder() -> GradescopeLeaderboardEntryBuilder<((), (), ())>
Create a builder for building GradescopeLeaderboardEntry
.
On the builder, call .name(...)
(optional), .value(...)
(optional), .order(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of GradescopeLeaderboardEntry
.
Trait Implementations§
source§impl Debug for GradescopeLeaderboardEntry
impl Debug for GradescopeLeaderboardEntry
source§impl<'de> Deserialize<'de> for GradescopeLeaderboardEntry
impl<'de> Deserialize<'de> for GradescopeLeaderboardEntry
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
Auto Trait Implementations§
impl RefUnwindSafe for GradescopeLeaderboardEntry
impl Send for GradescopeLeaderboardEntry
impl Sync for GradescopeLeaderboardEntry
impl Unpin for GradescopeLeaderboardEntry
impl UnwindSafe for GradescopeLeaderboardEntry
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