[][src]Struct creator_tools::types::BundleVersion

pub struct BundleVersion {
    pub bundle_version: Option<String>,
    pub bundle_short_version_string: Option<String>,
    pub bundle_info_dictionary_version: Option<String>,
    pub human_readable_copyright: Option<String>,
}

Bundle Version.

Fields

bundle_version: Option<String>

The version of the build that identifies an iteration of the bundle.

This key is a machine-readable string composed of one to three period-separated integers, such as 10.14.1. The string can only contain numeric characters (0-9) and periods.

Each integer provides information about the build version in the format [Major].[Minor].[Patch]:

  • Major: A major revision number.
  • Minor: A minor revision number.
  • Patch: A maintenance release number.

You can include more integers but the system ignores them. You can also abbreviate the build version by using only one or two integers, where missing integers in the format are interpreted as zeros. For example, 0 specifies 0.0.0, 10 specifies 10.0.0, and 10.5 specifies 10.5.0. This key is required by the App Store and is used throughout the system to identify the version of the build. For macOS apps, increment the build version before you distribute a build.

bundle_short_version_string: Option<String>

The release or version number of the bundle.

This key is a user-visible string for the version of the bundle. The required format is three period-separated integers, such as 10.14.1. The string can only contain numeric characters (0-9) and periods.

Each integer provides information about the release in the format [Major].[Minor].[Patch]:

  • Major: A major revision number.
  • Minor: A minor revision number.
  • Patch: A maintenance release number.

This key is used throughout the system to identify the version of the bundle.

bundle_info_dictionary_version: Option<String>

The current version of the Information Property List structure.

Xcode adds this key automatically. Don’t change the value.

human_readable_copyright: Option<String>

A human-readable copyright notice for the bundle.

Trait Implementations

impl Clone for BundleVersion[src]

impl Debug for BundleVersion[src]

impl Default for BundleVersion[src]

impl<'de> Deserialize<'de> for BundleVersion[src]

impl PartialEq<BundleVersion> for BundleVersion[src]

impl Serialize for BundleVersion[src]

impl StructuralPartialEq for BundleVersion[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.