Struct google_androidmanagement1::api::ExtensionConfig
source · [−]pub struct ExtensionConfig {
pub notification_receiver: Option<String>,
pub signing_key_fingerprints_sha256: Option<Vec<String>>,
}Expand description
Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline.
This type is not used in any activity, and only used as part of another schema.
Fields
notification_receiver: Option<String>Fully qualified class name of the receiver service class for Android Device Policy to notify the extension app of any local command status updates.
signing_key_fingerprints_sha256: Option<Vec<String>>Hex-encoded SHA256 hash of the signing certificate of the extension app. Only hexadecimal string representations of 64 characters are valid.If not specified, the signature for the corresponding package name is obtained from the Play Store instead.If this list is empty, the signature of the extension app on the device must match the signature obtained from the Play Store for the app to be able to communicate with Android Device Policy.If this list is not empty, the signature of the extension app on the device must match one of the entries in this list for the app to be able to communicate with Android Device Policy.In production use cases, it is recommended to leave this empty.
Trait Implementations
sourceimpl Clone for ExtensionConfig
impl Clone for ExtensionConfig
sourcefn clone(&self) -> ExtensionConfig
fn clone(&self) -> ExtensionConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ExtensionConfig
impl Debug for ExtensionConfig
sourceimpl Default for ExtensionConfig
impl Default for ExtensionConfig
sourcefn default() -> ExtensionConfig
fn default() -> ExtensionConfig
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ExtensionConfig
impl<'de> Deserialize<'de> for ExtensionConfig
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ExtensionConfig
impl Serialize for ExtensionConfig
impl Part for ExtensionConfig
Auto Trait Implementations
impl RefUnwindSafe for ExtensionConfig
impl Send for ExtensionConfig
impl Sync for ExtensionConfig
impl Unpin for ExtensionConfig
impl UnwindSafe for ExtensionConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more