pub struct RawCatalogInstaller {Show 15 fields
pub package_id: String,
pub url: String,
pub hash: String,
pub hash_algorithm: HashAlgorithm,
pub installer_type: CatalogInstallerType,
pub installer_switches: Option<String>,
pub platform: Option<String>,
pub commands: Option<String>,
pub protocols: Option<String>,
pub file_extensions: Option<String>,
pub capabilities: Option<String>,
pub arch: String,
pub kind: String,
pub nested_kind: Option<String>,
pub scope: Option<String>,
}Expand description
Raw installer payload exactly as it is received from the upstream feed.
Fields§
§package_id: StringRaw package id string.
url: StringRaw installer URL.
hash: StringRaw checksum string.
hash_algorithm: HashAlgorithmRaw checksum algorithm.
installer_type: CatalogInstallerTypeRaw normalized installer family string.
installer_switches: Option<String>Raw silent-install or package-manager switches.
platform: Option<String>Raw platform metadata encoded as JSON text.
commands: Option<String>Raw commands encoded as JSON text.
protocols: Option<String>Raw protocols encoded as JSON text.
file_extensions: Option<String>Raw file extensions encoded as JSON text.
capabilities: Option<String>Raw capabilities encoded as JSON text.
arch: StringRaw architecture string.
kind: StringRaw installer kind string.
nested_kind: Option<String>Raw nested installer kind string when the installer is archive-shaped.
scope: Option<String>Raw install scope string when the source provides one.
Trait Implementations§
Source§impl Clone for RawCatalogInstaller
impl Clone for RawCatalogInstaller
Source§fn clone(&self) -> RawCatalogInstaller
fn clone(&self) -> RawCatalogInstaller
Returns a duplicate 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 RawCatalogInstaller
impl Debug for RawCatalogInstaller
Source§impl<'de> Deserialize<'de> for RawCatalogInstaller
impl<'de> Deserialize<'de> for RawCatalogInstaller
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 Serialize for RawCatalogInstaller
impl Serialize for RawCatalogInstaller
Source§impl TryFrom<RawCatalogInstaller> for CatalogInstaller
impl TryFrom<RawCatalogInstaller> for CatalogInstaller
Source§type Error = ModelError
type Error = ModelError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for RawCatalogInstaller
impl RefUnwindSafe for RawCatalogInstaller
impl Send for RawCatalogInstaller
impl Sync for RawCatalogInstaller
impl Unpin for RawCatalogInstaller
impl UnwindSafe for RawCatalogInstaller
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