pub struct JdkMetadata {Show 17 fields
pub id: String,
pub distribution: String,
pub version: Version,
pub distribution_version: Version,
pub architecture: Architecture,
pub operating_system: OperatingSystem,
pub package_type: PackageType,
pub archive_type: ArchiveType,
pub download_url: Option<String>,
pub checksum: Option<String>,
pub checksum_type: Option<ChecksumType>,
pub size: i64,
pub lib_c_type: Option<String>,
pub javafx_bundled: bool,
pub term_of_support: Option<String>,
pub release_status: Option<String>,
pub latest_build_available: Option<bool>,
}Fields§
§id: String§distribution: String§version: Version§distribution_version: Version§architecture: Architecture§operating_system: OperatingSystem§package_type: PackageType§archive_type: ArchiveType§download_url: Option<String>§checksum: Option<String>§checksum_type: Option<ChecksumType>§size: i64§lib_c_type: Option<String>§javafx_bundled: bool§term_of_support: Option<String>§release_status: Option<String>§latest_build_available: Option<bool>Implementations§
Source§impl JdkMetadata
impl JdkMetadata
Sourcepub fn is_complete(&self) -> bool
pub fn is_complete(&self) -> bool
Check if the metadata has all required fields for installation
Trait Implementations§
Source§impl Clone for JdkMetadata
impl Clone for JdkMetadata
Source§fn clone(&self) -> JdkMetadata
fn clone(&self) -> JdkMetadata
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 JdkMetadata
impl Debug for JdkMetadata
Source§impl<'de> Deserialize<'de> for JdkMetadata
impl<'de> Deserialize<'de> for JdkMetadata
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 JdkMetadata
Source§impl PartialEq for JdkMetadata
impl PartialEq for JdkMetadata
Source§impl Serialize for JdkMetadata
impl Serialize for JdkMetadata
impl StructuralPartialEq for JdkMetadata
Auto Trait Implementations§
impl Freeze for JdkMetadata
impl RefUnwindSafe for JdkMetadata
impl Send for JdkMetadata
impl Sync for JdkMetadata
impl Unpin for JdkMetadata
impl UnsafeUnpin for JdkMetadata
impl UnwindSafe for JdkMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more