pub struct ArenaCopy {
pub id: String,
pub name: String,
pub tagline: String,
pub tags: [String; 3],
pub form_stat: String,
pub form_label: String,
pub goal: String,
pub deciding: String,
pub robot: String,
pub guide: GuideNotes,
}Fields§
§id: StringThe slug, matching the declaration’s arena id.
name: StringThe display name.
tagline: StringOne line for cards and the arena’s page.
Three short words for a card footer.
form_stat: StringThe key of the declared stat the leaderboard’s form column aggregates.
form_label: StringThe form column’s heading, e.g. “Punches, last 10”.
goal: StringThe arena page’s Brief: what wins.
deciding: StringHow a session is decided.
robot: StringWhat the robot is.
guide: GuideNotesArena-specific notes for the build guide’s sections. Each is optional; the site’s own generic guide covers what isn’t said.
Implementations§
Source§impl ArenaCopy
impl ArenaCopy
Sourcepub fn problems(&self, declaration: Option<&Declaration>) -> Vec<CopyProblem>
pub fn problems(&self, declaration: Option<&Declaration>) -> Vec<CopyProblem>
Everything wrong with this copy, checked against the declaration when there is one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArenaCopy
impl<'de> Deserialize<'de> for ArenaCopy
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 ArenaCopy
Auto Trait Implementations§
impl Freeze for ArenaCopy
impl RefUnwindSafe for ArenaCopy
impl Send for ArenaCopy
impl Sync for ArenaCopy
impl Unpin for ArenaCopy
impl UnsafeUnpin for ArenaCopy
impl UnwindSafe for ArenaCopy
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