pub struct GamePublic {
pub title: Option<Text>,
pub orientation: Player,
pub outcome: Outcome,
pub roster: Roster,
pub tags: Vec<Tag>,
}Expand description
Public data associated with a game.
Fields§
§title: Option<Text>§orientation: Player§outcome: Outcome§roster: RosterTrait Implementations§
Source§impl Clone for GamePublic
impl Clone for GamePublic
Source§fn clone(&self) -> GamePublic
fn clone(&self) -> GamePublic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GamePublic
impl Default for GamePublic
Source§impl<'de> Deserialize<'de> for GamePublic
impl<'de> Deserialize<'de> for GamePublic
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 GamePublic
impl PartialEq for GamePublic
Source§fn eq(&self, other: &GamePublic) -> bool
fn eq(&self, other: &GamePublic) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GamePublic
impl Serialize for GamePublic
impl StructuralPartialEq for GamePublic
Auto Trait Implementations§
impl Freeze for GamePublic
impl RefUnwindSafe for GamePublic
impl Send for GamePublic
impl Sync for GamePublic
impl Unpin for GamePublic
impl UnsafeUnpin for GamePublic
impl UnwindSafe for GamePublic
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