pub struct UntypedGameRule {
pub key: String,
pub value: UntypedGameRuleValue,
}Fields§
§key: String§value: UntypedGameRuleValueTrait Implementations§
Source§impl Clone for UntypedGameRule
impl Clone for UntypedGameRule
Source§fn clone(&self) -> UntypedGameRule
fn clone(&self) -> UntypedGameRule
Returns a duplicate 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 UntypedGameRule
impl Debug for UntypedGameRule
Source§impl<'de> Deserialize<'de> for UntypedGameRule
impl<'de> Deserialize<'de> for UntypedGameRule
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 Hash for UntypedGameRule
impl Hash for UntypedGameRule
Source§impl PartialEq for UntypedGameRule
impl PartialEq for UntypedGameRule
Source§impl Serialize for UntypedGameRule
impl Serialize for UntypedGameRule
impl Eq for UntypedGameRule
impl StructuralPartialEq for UntypedGameRule
Auto Trait Implementations§
impl Freeze for UntypedGameRule
impl RefUnwindSafe for UntypedGameRule
impl Send for UntypedGameRule
impl Sync for UntypedGameRule
impl Unpin for UntypedGameRule
impl UnwindSafe for UntypedGameRule
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