pub fn to_nbt_value<T>(value: T) -> Result<NbtValue, Error>where T: Serialize,
Function to try to convert any struct implementing Serialize into NbtValue
Serialize
NbtValue