Struct mc_query::status::ChatHoverEvent
source · pub struct ChatHoverEvent {
pub show_text: Option<Box<ChatObject>>,
pub value: Option<Box<ChatObject>>,
pub show_item: Option<String>,
pub show_entity: Option<String>,
}
Expand description
HoverEvent data for a chat component
Fields§
§show_text: Option<Box<ChatObject>>
Text to show when the item is hovered over
value: Option<Box<ChatObject>>
Same as show_text, but for servers < 1.16
show_item: Option<String>
Displays the item of the given NBT
show_entity: Option<String>
Displays information about the entity with the given NBT
Trait Implementations§
source§impl Debug for ChatHoverEvent
impl Debug for ChatHoverEvent
source§impl<'de> Deserialize<'de> for ChatHoverEvent
impl<'de> Deserialize<'de> for ChatHoverEvent
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