pub struct AccessTokenScope {
pub basins: Option<ResourceSet<MaybeEmpty<BasinName>, BasinNamePrefix>>,
pub streams: Option<ResourceSet<MaybeEmpty<StreamName>, StreamNamePrefix>>,
pub access_tokens: Option<ResourceSet<MaybeEmpty<AccessTokenId>, AccessTokenIdPrefix>>,
pub op_groups: Option<PermittedOperationGroups>,
pub ops: Option<Vec<Operation>>,
}Fields§
§basins: Option<ResourceSet<MaybeEmpty<BasinName>, BasinNamePrefix>>Basin names allowed.
streams: Option<ResourceSet<MaybeEmpty<StreamName>, StreamNamePrefix>>Stream names allowed.
access_tokens: Option<ResourceSet<MaybeEmpty<AccessTokenId>, AccessTokenIdPrefix>>Token IDs allowed.
op_groups: Option<PermittedOperationGroups>Access permissions at operation group level.
ops: Option<Vec<Operation>>Operations allowed for the token. A union of allowed operations and groups is used as an effective set of allowed operations.
Trait Implementations§
Source§impl Clone for AccessTokenScope
impl Clone for AccessTokenScope
Source§fn clone(&self) -> AccessTokenScope
fn clone(&self) -> AccessTokenScope
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 AccessTokenScope
impl Debug for AccessTokenScope
Source§impl<'de> Deserialize<'de> for AccessTokenScope
impl<'de> Deserialize<'de> for AccessTokenScope
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 From<AccessTokenScope> for AccessTokenScope
impl From<AccessTokenScope> for AccessTokenScope
Source§fn from(value: AccessTokenScope) -> Self
fn from(value: AccessTokenScope) -> Self
Converts to this type from the input type.
Source§impl Serialize for AccessTokenScope
impl Serialize for AccessTokenScope
Source§impl TryFrom<AccessTokenScope> for AccessTokenScope
impl TryFrom<AccessTokenScope> for AccessTokenScope
Source§type Error = ValidationError
type Error = ValidationError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for AccessTokenScope
impl RefUnwindSafe for AccessTokenScope
impl Send for AccessTokenScope
impl Sync for AccessTokenScope
impl Unpin for AccessTokenScope
impl UnwindSafe for AccessTokenScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more