1 2 3 4 5 6 7 8 9 10
use std::borrow::Cow; use valence_ident::Ident; use crate::{Decode, Encode, Packet}; #[derive(Clone, Debug, Encode, Decode, Packet)] pub struct RecipeBookDataC2s<'a> { pub recipe_id: Ident<Cow<'a, str>>, }