Struct google_androidmanagement1::ExternalData[][src]

pub struct ExternalData {
    pub url: Option<String>,
    pub sha256_hash: Option<String>,

Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash.

This type is not used in any activity, and only used as part of another schema.


The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn't provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.

The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn't match this hash, Android Device Policy won't use the data.

Trait Implementations

impl Default for ExternalData

Returns the "default value" for a type. Read more

impl Clone for ExternalData

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ExternalData

Formats the value using the given formatter. Read more

impl Part for ExternalData

Auto Trait Implementations