pub struct PlaySetRecipeBookStateSpec {
pub book_id: RecipeBookType,
pub open: bool,
pub filtered: bool,
}
Fields§
§book_id: RecipeBookType
§open: bool
§filtered: bool
Trait Implementations§
Source§impl Clone for PlaySetRecipeBookStateSpec
impl Clone for PlaySetRecipeBookStateSpec
Source§fn clone(&self) -> PlaySetRecipeBookStateSpec
fn clone(&self) -> PlaySetRecipeBookStateSpec
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 PlaySetRecipeBookStateSpec
impl Debug for PlaySetRecipeBookStateSpec
Source§impl Deserialize for PlaySetRecipeBookStateSpec
impl Deserialize for PlaySetRecipeBookStateSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(RecipeBookType, bool, bool)> for PlaySetRecipeBookStateSpec
impl From<(RecipeBookType, bool, bool)> for PlaySetRecipeBookStateSpec
Source§impl From<PlaySetRecipeBookStateSpec> for (RecipeBookType, bool, bool)
impl From<PlaySetRecipeBookStateSpec> for (RecipeBookType, bool, bool)
Source§fn from(other: PlaySetRecipeBookStateSpec) -> Self
fn from(other: PlaySetRecipeBookStateSpec) -> Self
Converts to this type from the input type.
Source§impl Serialize for PlaySetRecipeBookStateSpec
impl Serialize for PlaySetRecipeBookStateSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlaySetRecipeBookStateSpec
Auto Trait Implementations§
impl Freeze for PlaySetRecipeBookStateSpec
impl RefUnwindSafe for PlaySetRecipeBookStateSpec
impl Send for PlaySetRecipeBookStateSpec
impl Sync for PlaySetRecipeBookStateSpec
impl Unpin for PlaySetRecipeBookStateSpec
impl UnwindSafe for PlaySetRecipeBookStateSpec
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