pub struct AccessSettings {
pub access_levels: Option<Vec<String>>,
pub session_settings: Option<SessionSettings>,
}Expand description
Access settings represent the set of conditions that must be met for access to be granted. At least one of the fields must be set.
This type is not used in any activity, and only used as part of another schema.
Fields§
§access_levels: Option<Vec<String>>Optional. Access level that a user must have to be granted access. Only one access level is supported, not multiple. This repeated field must have exactly one element. Example: “accessPolicies/9522/accessLevels/device_trusted”
session_settings: Option<SessionSettings>Optional. Session settings applied to user access on a given AccessScope.
Trait Implementations§
Source§impl Clone for AccessSettings
impl Clone for AccessSettings
Source§fn clone(&self) -> AccessSettings
fn clone(&self) -> AccessSettings
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 AccessSettings
impl Debug for AccessSettings
Source§impl Default for AccessSettings
impl Default for AccessSettings
Source§fn default() -> AccessSettings
fn default() -> AccessSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccessSettings
impl<'de> Deserialize<'de> for AccessSettings
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 AccessSettings
impl Serialize for AccessSettings
impl Part for AccessSettings
Auto Trait Implementations§
impl Freeze for AccessSettings
impl RefUnwindSafe for AccessSettings
impl Send for AccessSettings
impl Sync for AccessSettings
impl Unpin for AccessSettings
impl UnwindSafe for AccessSettings
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