pub struct Dpc {
pub dpc_name: Option<String>,
pub name: Option<String>,
pub package_name: Option<String>,
}Expand description
An EMM’s DPC (device policy controller). Zero-touch enrollment installs a DPC (listed in the Configuration) on a device to maintain the customer’s mobile policies. All the DPCs listed by the API support zero-touch enrollment and are available in Google Play.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dpc_name: Option<String>Output only. The title of the DPC app in Google Play. For example, Google Apps Device Policy. Useful in an application’s user interface.
name: Option<String>Output only. The API resource name in the format customers/[CUSTOMER_ID]/dpcs/[DPC_ID]. Assigned by the server. To maintain a reference to a DPC across customer accounts, persist and match the last path component (DPC_ID).
package_name: Option<String>Output only. The DPC’s Android application ID that looks like a Java package name. Zero-touch enrollment installs the DPC app onto a device using this identifier.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dpc
impl<'de> Deserialize<'de> for Dpc
Source§fn 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>,
impl Part for Dpc
Auto Trait Implementations§
impl Freeze for Dpc
impl RefUnwindSafe for Dpc
impl Send for Dpc
impl Sync for Dpc
impl Unpin for Dpc
impl UnwindSafe for Dpc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more