pub struct ResourcePackSettings {
pub url: String,
pub hash: String,
pub required: bool,
}Fields§
§url: String§hash: String§required: boolTrait Implementations§
Source§impl Clone for ResourcePackSettings
impl Clone for ResourcePackSettings
Source§fn clone(&self) -> ResourcePackSettings
fn clone(&self) -> ResourcePackSettings
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 ResourcePackSettings
impl Debug for ResourcePackSettings
Source§impl<'de> Deserialize<'de> for ResourcePackSettings
impl<'de> Deserialize<'de> for ResourcePackSettings
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 ResourcePackSettings
impl RefUnwindSafe for ResourcePackSettings
impl Send for ResourcePackSettings
impl Sync for ResourcePackSettings
impl Unpin for ResourcePackSettings
impl UnsafeUnpin for ResourcePackSettings
impl UnwindSafe for ResourcePackSettings
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