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