pub struct McmetaPackSupportedformats {
pub min_inclusive: u8,
pub max_inclusive: u8,
}
Expand description
(optional) Describes a range for pack formats that this pack supports.
The range has to include the value of McmetaPack::pack_format
.
Fields§
§min_inclusive: u8
Minimum Pack format number
max_inclusive: u8
Maximum pack format number
Trait Implementations§
Source§impl Clone for McmetaPackSupportedformats
impl Clone for McmetaPackSupportedformats
Source§fn clone(&self) -> McmetaPackSupportedformats
fn clone(&self) -> McmetaPackSupportedformats
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 McmetaPackSupportedformats
impl Debug for McmetaPackSupportedformats
Source§impl<'de> Deserialize<'de> for McmetaPackSupportedformats
impl<'de> Deserialize<'de> for McmetaPackSupportedformats
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
impl Eq for McmetaPackSupportedformats
impl StructuralPartialEq for McmetaPackSupportedformats
Auto Trait Implementations§
impl Freeze for McmetaPackSupportedformats
impl RefUnwindSafe for McmetaPackSupportedformats
impl Send for McmetaPackSupportedformats
impl Sync for McmetaPackSupportedformats
impl Unpin for McmetaPackSupportedformats
impl UnwindSafe for McmetaPackSupportedformats
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