Struct google_androidpublisher3::api::Grant
source · pub struct Grant {
pub app_level_permissions: Option<Vec<String>>,
pub name: Option<String>,
pub package_name: Option<String>,
}
Expand description
An access grant resource.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- create grants (request|response)
- delete grants (none)
- patch grants (request|response)
Fields§
§app_level_permissions: Option<Vec<String>>
The permissions granted to the user for this app.
name: Option<String>
Required. Resource name for this grant, following the pattern “developers/{developer}/users/{email}/grants/{package_name}”. If this grant is for a draft app, the app ID will be used in this resource name instead of the package name.
package_name: Option<String>
Immutable. The package name of the app. This will be empty for draft apps.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Grant
impl<'de> Deserialize<'de> for Grant
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
impl RequestValue for Grant
impl Resource for Grant
impl ResponseResult for Grant
Auto Trait Implementations§
impl RefUnwindSafe for Grant
impl Send for Grant
impl Sync for Grant
impl Unpin for Grant
impl UnwindSafe for Grant
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