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