pub struct IdentitySelector {
pub identity: Option<String>,
}Expand description
Specifies an identity for which to determine resource access, based on roles assigned either directly to them or to the groups they belong to, directly or indirectly.
This type is not used in any activity, and only used as part of another schema.
Fields§
§identity: Option<String>Required. The identity appear in the form of principals in IAM policy binding. The examples of supported forms are: “user:mike@example.com”, “group:admins@example.com”, “domain:google.com”, “serviceAccount:my-project-id@appspot.gserviceaccount.com”. Notice that wildcard characters (such as * and ?) are not supported. You must give a specific identity.
Trait Implementations§
Source§impl Clone for IdentitySelector
impl Clone for IdentitySelector
Source§fn clone(&self) -> IdentitySelector
fn clone(&self) -> IdentitySelector
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 IdentitySelector
impl Debug for IdentitySelector
Source§impl Default for IdentitySelector
impl Default for IdentitySelector
Source§fn default() -> IdentitySelector
fn default() -> IdentitySelector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentitySelector
impl<'de> Deserialize<'de> for IdentitySelector
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 IdentitySelector
impl Serialize for IdentitySelector
impl Part for IdentitySelector
Auto Trait Implementations§
impl Freeze for IdentitySelector
impl RefUnwindSafe for IdentitySelector
impl Send for IdentitySelector
impl Sync for IdentitySelector
impl Unpin for IdentitySelector
impl UnwindSafe for IdentitySelector
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