pub struct ArtifactInfo {
pub sha1: Option<String>,
pub size: Option<u64>,
pub path: Option<String>,
pub url: String,
}Fields§
§sha1: Option<String>§size: Option<u64>§path: Option<String>Relative Maven path (e.g. "net/minecraftforge/forge/1.19-41.0.63/forge-1.19-41.0.63.jar").
url: StringTrait Implementations§
Source§impl Clone for ArtifactInfo
impl Clone for ArtifactInfo
Source§fn clone(&self) -> ArtifactInfo
fn clone(&self) -> ArtifactInfo
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 ArtifactInfo
impl Debug for ArtifactInfo
Source§impl<'de> Deserialize<'de> for ArtifactInfo
impl<'de> Deserialize<'de> for ArtifactInfo
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 ArtifactInfo
impl RefUnwindSafe for ArtifactInfo
impl Send for ArtifactInfo
impl Sync for ArtifactInfo
impl Unpin for ArtifactInfo
impl UnsafeUnpin for ArtifactInfo
impl UnwindSafe for ArtifactInfo
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