[][src]Struct google_androidmanagement1::ExternalData

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.

Fields

url: Option<String>

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.

sha256_hash: Option<String>

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 Clone for ExternalData[src]

impl Debug for ExternalData[src]

impl Default for ExternalData[src]

impl<'de> Deserialize<'de> for ExternalData[src]

impl Part for ExternalData[src]

impl Serialize for ExternalData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any