Enum minecraft_json::minecraft::common::ScoreboardSelector [−][src]
pub enum ScoreboardSelector { Fixed { name: String, }, Context { target: ScoreboardName, }, }
Expand description
Scoreboard name provider.
Variants
Show fields
Fields of Fixed
name: String
A UUID or playername.
Show fields
Fields of Context
target: ScoreboardName
Scoreboard name provider.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.