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>,
}Expand description
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.
§Availability
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
§Framework
Core Foundation
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.
§Availability
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
§Framework
Core Foundation
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.
§Availability
- iOS 2.0+
- macOS 10.0+
- tvOS 9.0+
- watchOS 2.0+
§Framework
Core Foundation
human_readable_copyright: Option<String>Trait Implementations§
Source§impl Clone for BundleVersion
impl Clone for BundleVersion
Source§fn clone(&self) -> BundleVersion
fn clone(&self) -> BundleVersion
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BundleVersion
impl Debug for BundleVersion
Source§impl Default for BundleVersion
impl Default for BundleVersion
Source§fn default() -> BundleVersion
fn default() -> BundleVersion
Source§impl<'de> Deserialize<'de> for BundleVersion
impl<'de> Deserialize<'de> for BundleVersion
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>,
Source§impl PartialEq for BundleVersion
impl PartialEq for BundleVersion
Source§impl Serialize for BundleVersion
impl Serialize for BundleVersion
impl Eq for BundleVersion
impl StructuralPartialEq for BundleVersion
Auto Trait Implementations§
impl Freeze for BundleVersion
impl RefUnwindSafe for BundleVersion
impl Send for BundleVersion
impl Sync for BundleVersion
impl Unpin for BundleVersion
impl UnwindSafe for BundleVersion
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.