Struct uvm_install2::unity::Module
source · pub struct Module {Show 16 fields
pub id: Component,
pub sync: Option<Component>,
pub parent: Option<Component>,
pub name: String,
pub description: String,
pub download_url: String,
pub category: Category,
pub installed_size: u64,
pub download_size: u64,
pub visible: bool,
pub selected: bool,
pub cmd: Option<String>,
pub checksum: Option<MD5>,
pub eula_url_1: Option<String>,
pub eula_label_1: Option<String>,
pub eula_message: Option<String>,
/* private fields */
}Fields
id: Componentsync: Option<Component>parent: Option<Component>name: Stringdescription: Stringdownload_url: Stringcategory: Categoryinstalled_size: u64download_size: u64visible: boolselected: boolcmd: Option<String>checksum: Option<MD5>eula_url_1: Option<String>eula_label_1: Option<String>eula_message: Option<String>Implementations
sourceimpl Module
impl Module
pub fn install_rename_from<P>(&self, base_dir: P) -> Option<PathBuf>where
P: AsRef<Path>,
pub fn install_rename_to<P>(&self, base_dir: P) -> Option<PathBuf>where
P: AsRef<Path>,
pub fn install_rename_from_to<P>(
&self,
base_dir: P
) -> Option<(PathBuf, PathBuf)>where
P: AsRef<Path>,
pub fn install_destination<P>(&self, base_dir: P) -> Option<PathBuf>where
P: AsRef<Path>,
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Modulewhere
Module: Default,
impl<'de> Deserialize<'de> for Modulewhere
Module: Default,
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<Module, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Module, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromIterator<Module> for Modules
impl FromIterator<Module> for Modules
sourceimpl FromIterator<Module> for ModulesMap
impl FromIterator<Module> for ModulesMap
sourcefn from_iter<I>(iter: I) -> ModulesMapwhere
I: IntoIterator<Item = Module>,
fn from_iter<I>(iter: I) -> ModulesMapwhere
I: IntoIterator<Item = Module>,
Creates a value from an iterator. Read more
sourceimpl Ord for Module
impl Ord for Module
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<Module> for Module
impl PartialOrd<Module> for Module
sourcefn partial_cmp(&self, other: &Module) -> Option<Ordering>
fn partial_cmp(&self, other: &Module) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl Serialize for Module
impl Serialize for Module
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Module
impl StructuralEq for Module
Auto Trait Implementations
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.