pub struct PlayLockDifficultySpec {
pub locked: bool,
}
Fields§
§locked: bool
Trait Implementations§
Source§impl Clone for PlayLockDifficultySpec
impl Clone for PlayLockDifficultySpec
Source§fn clone(&self) -> PlayLockDifficultySpec
fn clone(&self) -> PlayLockDifficultySpec
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 PlayLockDifficultySpec
impl Debug for PlayLockDifficultySpec
Source§impl Deserialize for PlayLockDifficultySpec
impl Deserialize for PlayLockDifficultySpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<PlayLockDifficultySpec> for bool
impl From<PlayLockDifficultySpec> for bool
Source§fn from(other: PlayLockDifficultySpec) -> Self
fn from(other: PlayLockDifficultySpec) -> Self
Converts to this type from the input type.
Source§impl From<bool> for PlayLockDifficultySpec
impl From<bool> for PlayLockDifficultySpec
Source§impl PartialEq for PlayLockDifficultySpec
impl PartialEq for PlayLockDifficultySpec
Source§impl Serialize for PlayLockDifficultySpec
impl Serialize for PlayLockDifficultySpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayLockDifficultySpec
Auto Trait Implementations§
impl Freeze for PlayLockDifficultySpec
impl RefUnwindSafe for PlayLockDifficultySpec
impl Send for PlayLockDifficultySpec
impl Sync for PlayLockDifficultySpec
impl Unpin for PlayLockDifficultySpec
impl UnwindSafe for PlayLockDifficultySpec
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