Struct google_androidmanagement1::WebToken
source · pub struct WebToken {
pub parent_frame_url: Option<String>,
pub name: Option<String>,
pub value: Option<String>,
pub permissions: Option<Vec<String>>,
}Expand description
A web token used to access the managed Google Play iframe.
§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).
- web tokens create enterprises (request|response)
Fields§
§parent_frame_url: Option<String>The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the https scheme.
name: Option<String>The name of the web token, which is generated by the server during creation in the form enterprises/{enterpriseId}/webTokens/{webTokenId}.
value: Option<String>The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server.
permissions: Option<Vec<String>>Permissions available to an admin in the embedded UI. An admin must have all of these permissions in order to view the UI.
Trait Implementations§
source§impl<'de> Deserialize<'de> for WebToken
impl<'de> Deserialize<'de> for WebToken
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 RequestValue for WebToken
impl ResponseResult for WebToken
Auto Trait Implementations§
impl Freeze for WebToken
impl RefUnwindSafe for WebToken
impl Send for WebToken
impl Sync for WebToken
impl Unpin for WebToken
impl UnwindSafe for WebToken
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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