pub fn version_string(&self) -> &str {
    self
      .bundle_settings
      .version
      .as_ref()
      .unwrap_or(&self.package.version)
  }
/// Returns the version string of the bundle, which is either package.metadata.version or package.version.
Returns the version string of the bundle, which is either package.metadata.version or package.version.
Returns the version string of the bundle which is either package . metadata . version or package . version .
pub fn version_string(&self) -> &str {
    self
      .bundle_settings
      .version
      .as_ref()
      .unwrap_or(&self.package.version)
  }
pub fn version_string ( & self ) -> & str { self . bundle_settings . version . as_ref ( ) . unwrap_or ( & self . package . version ) }
Returns the version string of the bundle, which is either package.metadata.version or package.version.
Returns the version string of the bundle which is either package . metadata . version or package . version .
&self
&self