pub struct AppSpec {
pub name: String,
pub version: String,
pub ios: Spec,
pub android: Spec,
}Expand description
Settings related to the app that a Polyhorn project builds.
Fields§
§name: StringThis is the name that will appear on the home screen.
version: StringThis is the human-readable version string. The version string is not bound to any of the constraints that the version code (for Android) is bound to. Specifically: this string can consist of any characters, it is not used for determining an ordering between releases and therefore does not have to be incrementing.
ios: SpecThese are iOS-specific settings.
android: SpecThese are Android-specific settings.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppSpec
impl<'de> Deserialize<'de> for AppSpec
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
impl Eq for AppSpec
impl StructuralPartialEq for AppSpec
Auto Trait Implementations§
impl Freeze for AppSpec
impl RefUnwindSafe for AppSpec
impl Send for AppSpec
impl Sync for AppSpec
impl Unpin for AppSpec
impl UnwindSafe for AppSpec
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§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
Compare self to
key and return true if they are equal.