pub struct ScopedAccessSettings {
pub active_settings: Option<AccessSettings>,
pub dry_run_settings: Option<AccessSettings>,
pub scope: Option<AccessScope>,
}Expand description
A relationship between access settings and its scope.
This type is not used in any activity, and only used as part of another schema.
Fields§
§active_settings: Option<AccessSettings>Optional. Access settings for this scoped access settings. This field may be empty if dry_run_settings is set.
dry_run_settings: Option<AccessSettings>Optional. Dry-run access settings for this scoped access settings. This field may be empty if active_settings is set.
scope: Option<AccessScope>Optional. Application, etc. to which the access settings will be applied to. Implicitly, this is the scoped access settings key; as such, it must be unique and non-empty.
Trait Implementations§
Source§impl Clone for ScopedAccessSettings
impl Clone for ScopedAccessSettings
Source§fn clone(&self) -> ScopedAccessSettings
fn clone(&self) -> ScopedAccessSettings
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 ScopedAccessSettings
impl Debug for ScopedAccessSettings
Source§impl Default for ScopedAccessSettings
impl Default for ScopedAccessSettings
Source§fn default() -> ScopedAccessSettings
fn default() -> ScopedAccessSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScopedAccessSettings
impl<'de> Deserialize<'de> for ScopedAccessSettings
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 ScopedAccessSettings
impl Serialize for ScopedAccessSettings
impl Part for ScopedAccessSettings
Auto Trait Implementations§
impl Freeze for ScopedAccessSettings
impl RefUnwindSafe for ScopedAccessSettings
impl Send for ScopedAccessSettings
impl Sync for ScopedAccessSettings
impl Unpin for ScopedAccessSettings
impl UnwindSafe for ScopedAccessSettings
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