pub struct FindAppsSecretScope {
pub type_: FindAppsSecretScopeType,
pub user: Option<String>,
}
Expand description
Specifies the scoping of the secret. Requests originating from UI extensions can only access account-scoped secrets or secrets scoped to their own user.
Fields§
§type_: FindAppsSecretScopeType
The secret scope type.
user: Option<String>
The user ID.
This field is required if type
is set to user
, and should not be provided if type
is set to account
.
Implementations§
Source§impl FindAppsSecretScope
impl FindAppsSecretScope
pub fn new(type_: impl Into<FindAppsSecretScopeType>) -> Self
Trait Implementations§
Source§impl Clone for FindAppsSecretScope
impl Clone for FindAppsSecretScope
Source§fn clone(&self) -> FindAppsSecretScope
fn clone(&self) -> FindAppsSecretScope
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 FindAppsSecretScope
impl Debug for FindAppsSecretScope
Auto Trait Implementations§
impl Freeze for FindAppsSecretScope
impl RefUnwindSafe for FindAppsSecretScope
impl Send for FindAppsSecretScope
impl Sync for FindAppsSecretScope
impl Unpin for FindAppsSecretScope
impl UnwindSafe for FindAppsSecretScope
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