Struct de_lobby_model::games::GameListing
source · pub struct GameListing(Vec<GamePartial>);
Tuple Fields§
§0: Vec<GamePartial>
Implementations§
source§impl GameListing
impl GameListing
pub fn empty() -> Self
pub fn games(&self) -> &[GamePartial]
pub fn push(&mut self, game: GamePartial)
Trait Implementations§
source§impl<'de> Deserialize<'de> for GameListing
impl<'de> Deserialize<'de> for GameListing
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 Freeze for GameListing
impl RefUnwindSafe for GameListing
impl Send for GameListing
impl Sync for GameListing
impl Unpin for GameListing
impl UnwindSafe for GameListing
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