Struct google_digitalassetlinks1::AndroidAppAsset [−][src]
pub struct AndroidAppAsset { pub package_name: Option<String>, pub certificate: Option<CertificateInfo>, }
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 Default for AndroidAppAsset
[src]
impl Default for AndroidAppAsset
fn default() -> AndroidAppAsset
[src]
fn default() -> AndroidAppAsset
Returns the "default value" for a type. Read more
impl Clone for AndroidAppAsset
[src]
impl Clone for AndroidAppAsset
fn clone(&self) -> AndroidAppAsset
[src]
fn clone(&self) -> AndroidAppAsset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for AndroidAppAsset
[src]
impl Debug for AndroidAppAsset
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for AndroidAppAsset
[src]
impl Part for AndroidAppAsset
Auto Trait Implementations
impl Send for AndroidAppAsset
impl Send for AndroidAppAsset
impl Sync for AndroidAppAsset
impl Sync for AndroidAppAsset