pub struct Distribution {Show 17 fields
pub min_spec_version: u8,
pub background: Option<Background>,
pub choice: Vec<Choice>,
pub choices_outline: ChoicesOutline,
pub conclusion: Option<Conclusion>,
pub domains: Option<Domains>,
pub installation_check: Option<InstallationCheck>,
pub license: Option<License>,
pub locator: Vec<Locator>,
pub options: Option<Options>,
pub pkg_ref: Vec<PkgRef>,
pub product: Option<Product>,
pub readme: Option<Readme>,
pub script: Option<Script>,
pub title: Option<Title>,
pub volume_check: Option<VolumeCheck>,
pub welcome: Option<Welcome>,
}
Expand description
Represents a distribution XML file.
Fields§
§min_spec_version: u8
§background: Option<Background>
§choice: Vec<Choice>
§choices_outline: ChoicesOutline
§conclusion: Option<Conclusion>
§domains: Option<Domains>
§installation_check: Option<InstallationCheck>
§license: Option<License>
§locator: Vec<Locator>
§options: Option<Options>
§pkg_ref: Vec<PkgRef>
§product: Option<Product>
§readme: Option<Readme>
§script: Option<Script>
§title: Option<Title>
§volume_check: Option<VolumeCheck>
§welcome: Option<Welcome>
Implementations§
Trait Implementations§
Source§impl Clone for Distribution
impl Clone for Distribution
Source§fn clone(&self) -> Distribution
fn clone(&self) -> Distribution
Returns a copy 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 Distribution
impl Debug for Distribution
Source§impl<'de> Deserialize<'de> for Distribution
impl<'de> Deserialize<'de> for Distribution
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 PartialEq for Distribution
impl PartialEq for Distribution
Source§impl Serialize for Distribution
impl Serialize for Distribution
impl Eq for Distribution
impl StructuralPartialEq for Distribution
Auto Trait Implementations§
impl Freeze for Distribution
impl RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl UnwindSafe for Distribution
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)