pub struct NewPermissionsEvent {
pub approved_permissions: Option<Vec<String>>,
pub product_id: Option<String>,
pub requested_permissions: Option<Vec<String>>,
}Expand description
An event generated when new permissions are added to an app.
This type is not used in any activity, and only used as part of another schema.
Fields§
§approved_permissions: Option<Vec<String>>The set of permissions that the enterprise admin has already approved for this application. Use Permissions.Get on the EMM API to retrieve details about these permissions.
product_id: Option<String>The id of the product (e.g. “app:com.google.android.gm”) for which new permissions were added. This field will always be present.
requested_permissions: Option<Vec<String>>The set of permissions that the app is currently requesting. Use Permissions.Get on the EMM API to retrieve details about these permissions.
Trait Implementations§
Source§impl Clone for NewPermissionsEvent
impl Clone for NewPermissionsEvent
Source§fn clone(&self) -> NewPermissionsEvent
fn clone(&self) -> NewPermissionsEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NewPermissionsEvent
impl Debug for NewPermissionsEvent
Source§impl Default for NewPermissionsEvent
impl Default for NewPermissionsEvent
Source§fn default() -> NewPermissionsEvent
fn default() -> NewPermissionsEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NewPermissionsEvent
impl<'de> Deserialize<'de> for NewPermissionsEvent
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for NewPermissionsEvent
impl Serialize for NewPermissionsEvent
impl Part for NewPermissionsEvent
Auto Trait Implementations§
impl Freeze for NewPermissionsEvent
impl RefUnwindSafe for NewPermissionsEvent
impl Send for NewPermissionsEvent
impl Sync for NewPermissionsEvent
impl Unpin for NewPermissionsEvent
impl UnwindSafe for NewPermissionsEvent
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
Mutably borrows from an owned value. Read more