pub struct HostSpec {
pub app: String,
pub host_api: u32,
pub shell_version: u64,
pub min_sdk: u64,
pub permissions: Vec<String>,
pub activities: u32,
pub services: u32,
pub receivers: u32,
pub providers: u32,
pub features: Vec<String>,
}Expand description
What the frozen host declares (written when the host APK is built; andysu-host.json).
Fields§
§app: String§host_api: u32§shell_version: u64§min_sdk: u64§permissions: Vec<String>§activities: u32§services: u32§receivers: u32§providers: u32§features: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HostSpec
impl<'de> Deserialize<'de> for HostSpec
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
Auto Trait Implementations§
impl Freeze for HostSpec
impl RefUnwindSafe for HostSpec
impl Send for HostSpec
impl Sync for HostSpec
impl Unpin for HostSpec
impl UnsafeUnpin for HostSpec
impl UnwindSafe for HostSpec
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more