[][src]Struct uvm_install2::unity::Module

pub struct Module {
    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>,
    // some fields omitted
}

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>

Methods

impl Module[src]

pub fn install_rename_from<P>(&self, base_dir: P) -> Option<PathBuf> where
    P: AsRef<Path>, 
[src]

pub fn install_rename_to<P>(&self, base_dir: P) -> Option<PathBuf> where
    P: AsRef<Path>, 
[src]

pub fn install_rename_from_to<P>(
    &self,
    base_dir: P
) -> Option<(PathBuf, PathBuf)> where
    P: AsRef<Path>, 
[src]

pub fn install_destination<P>(&self, base_dir: P) -> Option<PathBuf> where
    P: AsRef<Path>, 
[src]

Trait Implementations

impl StructuralEq for Module[src]

impl Eq for Module[src]

impl Debug for Module[src]

impl AsRef<Component> for Module[src]

impl Hash for Module[src]

impl FromIterator<Module> for ModulesMap[src]

impl FromIterator<Module> for Modules[src]

impl PartialEq<Module> for Module[src]

impl<'de> Deserialize<'de> for Module where
    Module: Default
[src]

impl PartialOrd<Module> for Module[src]

impl Default for Module[src]

impl<'_> From<((Component, IniData), &'_ Version)> for Module[src]

impl Serialize for Module[src]

impl Ord for Module[src]

Auto Trait Implementations

impl Send for Module

impl Sync for Module

impl Unpin for Module

impl UnwindSafe for Module

impl RefUnwindSafe for Module

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,