pub struct WiserData {
system: WiserDataSystem,
room: Vec<WiserRoomData>,
}
Fields§
§system: WiserDataSystem
§room: Vec<WiserRoomData>
Implementations§
source§impl WiserData
impl WiserData
pub fn new(system: WiserDataSystem, room: Vec<WiserRoomData>) -> Self
source§impl WiserData
impl WiserData
pub fn get_system(&self) -> &WiserDataSystem
pub fn get_rooms(&self) -> &Vec<WiserRoomData>
Trait Implementations§
source§impl<'de> Deserialize<'de> for WiserData
impl<'de> Deserialize<'de> for WiserData
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 WiserData
impl Send for WiserData
impl Sync for WiserData
impl Unpin for WiserData
impl UnwindSafe for WiserData
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