Struct scl_core::version::structs::LibraryDownload
source · pub struct LibraryDownload {
pub artifact: Option<DownloadItem>,
pub classifiers: Option<BTreeMap<String, DownloadItem>>,
}
Expand description
依赖库的下载信息结构
Fields§
§artifact: Option<DownloadItem>
需要下载的包,通常是 JAR 文件
classifiers: Option<BTreeMap<String, DownloadItem>>
旧版原生库的分类下载信息
Trait Implementations§
source§impl Clone for LibraryDownload
impl Clone for LibraryDownload
source§fn clone(&self) -> LibraryDownload
fn clone(&self) -> LibraryDownload
Returns a copy 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 LibraryDownload
impl Debug for LibraryDownload
source§impl<'de> Deserialize<'de> for LibraryDownload
impl<'de> Deserialize<'de> for LibraryDownload
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
source§impl PartialEq<LibraryDownload> for LibraryDownload
impl PartialEq<LibraryDownload> for LibraryDownload
source§fn eq(&self, other: &LibraryDownload) -> bool
fn eq(&self, other: &LibraryDownload) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LibraryDownload
impl Serialize for LibraryDownload
impl Eq for LibraryDownload
impl StructuralEq for LibraryDownload
impl StructuralPartialEq for LibraryDownload
Auto Trait Implementations§
impl RefUnwindSafe for LibraryDownload
impl Send for LibraryDownload
impl Sync for LibraryDownload
impl Unpin for LibraryDownload
impl UnwindSafe for LibraryDownload
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.