pub struct StatObject {
pub nested: Option<HashMap<String, StatObject>>,
pub attributes: Option<HashMap<String, StatValue>>,
}
Fields§
§nested: Option<HashMap<String, StatObject>>
§attributes: Option<HashMap<String, StatValue>>
Implementations§
Source§impl StatObject
impl StatObject
pub fn new() -> StatObject
Trait Implementations§
Source§impl Clone for StatObject
impl Clone for StatObject
Source§fn clone(&self) -> StatObject
fn clone(&self) -> StatObject
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StatObject
impl Debug for StatObject
Source§impl<'de> Deserialize<'de> for StatObject
impl<'de> Deserialize<'de> for StatObject
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 StatObject
impl PartialEq for StatObject
Source§impl Serialize for StatObject
impl Serialize for StatObject
impl StructuralPartialEq for StatObject
Auto Trait Implementations§
impl Freeze for StatObject
impl RefUnwindSafe for StatObject
impl Send for StatObject
impl Sync for StatObject
impl Unpin for StatObject
impl UnwindSafe for StatObject
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