[−][src]Struct google_digitalassetlinks1::AndroidAppAsset
Describes an android app asset.
This type is not used in any activity, and only used as part of another schema.
Fields
package_name: Option<String>
Android App assets are naturally identified by their Java package name.
For example, the Google Maps app uses the package name
com.google.android.apps.maps
.
REQUIRED
certificate: Option<CertificateInfo>
Because there is no global enforcement of package name uniqueness, we also require a signing certificate, which in combination with the package name uniquely identifies an app.
Some apps' signing keys are rotated, so they may be signed by different keys over time. We treat these as distinct assets, since we use (package name, cert) as the unique ID. This should not normally pose any problems as both versions of the app will make the same or similar statements. Other assets making statements about the app will have to be updated when a key is rotated, however.
(Note that the syntaxes for publishing and querying for statements contain syntactic sugar to easily let you specify apps that are known by multiple certificates.) REQUIRED
Trait Implementations
impl Clone for AndroidAppAsset
[src]
fn clone(&self) -> AndroidAppAsset
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AndroidAppAsset
[src]
impl Default for AndroidAppAsset
[src]
fn default() -> AndroidAppAsset
[src]
impl<'de> Deserialize<'de> for AndroidAppAsset
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for AndroidAppAsset
[src]
impl Serialize for AndroidAppAsset
[src]
Auto Trait Implementations
impl RefUnwindSafe for AndroidAppAsset
impl Send for AndroidAppAsset
impl Sync for AndroidAppAsset
impl Unpin for AndroidAppAsset
impl UnwindSafe for AndroidAppAsset
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,