[][src]Struct google_androidmanagement1::ChoosePrivateKeyRule

pub struct ChoosePrivateKeyRule {
    pub package_names: Option<Vec<String>>,
    pub private_key_alias: Option<String>,
    pub url_pattern: Option<String>,
}

A rule for automatically choosing a private key and certificate to authenticate the device to a server.

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

Fields

package_names: Option<Vec<String>>

The package names for which outgoing requests are subject to this rule. If no package names are specified, then the rule applies to all packages. For each package name listed, the rule applies to that package and all other packages that shared the same Android UID. The SHA256 hash of the signing key signatures of each package_name will be verified against those provided by Play

private_key_alias: Option<String>

The alias of the private key to be used.

url_pattern: Option<String>

The URL pattern to match against the URL of the outgoing request. The pattern may contain asterisk (*) wildcards. Any URL is matched if unspecified.

Trait Implementations

impl Clone for ChoosePrivateKeyRule[src]

impl Debug for ChoosePrivateKeyRule[src]

impl Default for ChoosePrivateKeyRule[src]

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

impl Part for ChoosePrivateKeyRule[src]

impl Serialize for ChoosePrivateKeyRule[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