pub struct Library {
pub downloads: Option<Downloads>,
pub name: String,
pub extract: Option<Extract>,
pub natives: Option<Natives>,
pub rules: Option<Vec<Rule>>,
}Fields§
§downloads: Option<Downloads>A list of artifacts to potentially download for the library
name: StringThe name of the library, in the format group:name:version
extract: Option<Extract>Information on how to extract the library.
This is used for natives, and is a map of the files to extract to the directories to extract
natives: Option<Natives>Information on natives for the version
This was used in older versions of the format
rules: Option<Vec<Rule>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Library
impl<'de> Deserialize<'de> for Library
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 Library
impl StructuralPartialEq for Library
Auto Trait Implementations§
impl Freeze for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnwindSafe for Library
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