pub struct JigPlaySessionMatching {
pub stable_module_id: StableModuleId,
pub rounds: Vec<HashMap<usize, JigPlaySessionMatchingCard>>,
}
Expand description
matching module
Fields§
§stable_module_id: StableModuleId
related module id
rounds: Vec<HashMap<usize, JigPlaySessionMatchingCard>>
list of rounds for this module
Implementations§
Source§impl JigPlaySessionMatching
impl JigPlaySessionMatching
Sourcepub fn new(stable_module_id: StableModuleId) -> Self
pub fn new(stable_module_id: StableModuleId) -> Self
create new from module id
Trait Implementations§
Source§impl Clone for JigPlaySessionMatching
impl Clone for JigPlaySessionMatching
Source§fn clone(&self) -> JigPlaySessionMatching
fn clone(&self) -> JigPlaySessionMatching
Returns a copy 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 JigPlaySessionMatching
impl Debug for JigPlaySessionMatching
Source§impl<'de> Deserialize<'de> for JigPlaySessionMatching
impl<'de> Deserialize<'de> for JigPlaySessionMatching
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 JigPlaySessionModuleGetPointsEarned for JigPlaySessionMatching
impl JigPlaySessionModuleGetPointsEarned for JigPlaySessionMatching
Source§fn get_points_earned(&self) -> PointsEarned
fn get_points_earned(&self) -> PointsEarned
get points earned method
Auto Trait Implementations§
impl Freeze for JigPlaySessionMatching
impl RefUnwindSafe for JigPlaySessionMatching
impl Send for JigPlaySessionMatching
impl Sync for JigPlaySessionMatching
impl Unpin for JigPlaySessionMatching
impl UnwindSafe for JigPlaySessionMatching
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