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