pub struct ResourcePackVersion {
pub pack_format: i32,
pub hash: String,
pub url: String,
pub extra: JsonObject,
}Expand description
One built version of a ResourcePack.
Fields§
§pack_format: i32§hash: String§url: String§extra: JsonObjectTrait Implementations§
Source§impl Clone for ResourcePackVersion
impl Clone for ResourcePackVersion
Source§fn clone(&self) -> ResourcePackVersion
fn clone(&self) -> ResourcePackVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ResourcePackVersion
impl Debug for ResourcePackVersion
Source§impl<'de> Deserialize<'de> for ResourcePackVersion
impl<'de> Deserialize<'de> for ResourcePackVersion
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 ResourcePackVersion
impl RefUnwindSafe for ResourcePackVersion
impl Send for ResourcePackVersion
impl Sync for ResourcePackVersion
impl Unpin for ResourcePackVersion
impl UnsafeUnpin for ResourcePackVersion
impl UnwindSafe for ResourcePackVersion
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