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