pub struct ListAppsSecretScope {
pub type_: ListAppsSecretScopeType,
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_: ListAppsSecretScopeType
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 ListAppsSecretScope
impl ListAppsSecretScope
pub fn new(type_: impl Into<ListAppsSecretScopeType>) -> Self
Trait Implementations§
Source§impl Clone for ListAppsSecretScope
impl Clone for ListAppsSecretScope
Source§fn clone(&self) -> ListAppsSecretScope
fn clone(&self) -> ListAppsSecretScope
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 ListAppsSecretScope
impl Debug for ListAppsSecretScope
Auto Trait Implementations§
impl Freeze for ListAppsSecretScope
impl RefUnwindSafe for ListAppsSecretScope
impl Send for ListAppsSecretScope
impl Sync for ListAppsSecretScope
impl Unpin for ListAppsSecretScope
impl UnwindSafe for ListAppsSecretScope
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