pub struct BlockVariation {
pub metadata: u32,
pub display_name: String,
pub description: Option<String>,
}
Fields§
§metadata: u32
§display_name: String
§description: Option<String>
Trait Implementations§
Source§impl Clone for BlockVariation
impl Clone for BlockVariation
Source§fn clone(&self) -> BlockVariation
fn clone(&self) -> BlockVariation
Returns a copy 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 BlockVariation
impl Debug for BlockVariation
Source§impl<'de> Deserialize<'de> for BlockVariation
impl<'de> Deserialize<'de> for BlockVariation
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
Auto Trait Implementations§
impl Freeze for BlockVariation
impl RefUnwindSafe for BlockVariation
impl Send for BlockVariation
impl Sync for BlockVariation
impl Unpin for BlockVariation
impl UnwindSafe for BlockVariation
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