pub struct PopularBlock {
pub name: String,
pub count: u32,
}Expand description
Represents a popular block returned by the API.
Fields§
§name: StringThe name of the block (e.g., “stone”, “dirt”).
count: u32The number of palettes this block appears in.
Trait Implementations§
Source§impl Debug for PopularBlock
impl Debug for PopularBlock
Source§impl<'de> Deserialize<'de> for PopularBlock
impl<'de> Deserialize<'de> for PopularBlock
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 PopularBlock
impl RefUnwindSafe for PopularBlock
impl Send for PopularBlock
impl Sync for PopularBlock
impl Unpin for PopularBlock
impl UnwindSafe for PopularBlock
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