Struct text_stub_library::yaml::TbdVersion1
source · pub struct TbdVersion1 {
pub archs: Vec<String>,
pub platform: String,
pub install_name: String,
pub current_version: Option<String>,
pub compatibility_version: Option<String>,
pub swift_version: Option<String>,
pub objc_constraint: Option<String>,
pub exports: Vec<TbdVersion12ExportSection>,
}
Expand description
Version 1 of the TBD structure.
Fields§
§archs: Vec<String>
The list of architecture slices that are supported by this file.
armv7, arm64, etc.
platform: String
Specifies the platform (macosx, ios, etc).
install_name: String
Path of installed library.
current_version: Option<String>
Current version of library.
Defaults to 1.0
.
compatibility_version: Option<String>
Compatibility version of library.
Defaults to 1.0
.
swift_version: Option<String>
Swift version of library.
Defaults to 0
.
objc_constraint: Option<String>
Objective-C constraint.
Defaults to none
.
exports: Vec<TbdVersion12ExportSection>
Export sections.
Trait Implementations§
source§impl Clone for TbdVersion1
impl Clone for TbdVersion1
source§fn clone(&self) -> TbdVersion1
fn clone(&self) -> TbdVersion1
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 TbdVersion1
impl Debug for TbdVersion1
source§impl<'de> Deserialize<'de> for TbdVersion1
impl<'de> Deserialize<'de> for TbdVersion1
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