Struct aws_sdk_grafana::model::UpdateInstruction [−][src]
#[non_exhaustive]pub struct UpdateInstruction {
pub action: Option<UpdateAction>,
pub role: Option<Role>,
pub users: Option<Vec<User>>,
}
Expand description
Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.action: Option<UpdateAction>
Specifies whether this update is to add or revoke role permissions.
role: Option<Role>
The role to add or revoke for the user or the group specified in users
.
users: Option<Vec<User>>
A structure that specifies the user or group to add or revoke the role for.
Implementations
Specifies whether this update is to add or revoke role permissions.
The role to add or revoke for the user or the group specified in users
.
Creates a new builder-style object to manufacture UpdateInstruction
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UpdateInstruction
impl Send for UpdateInstruction
impl Sync for UpdateInstruction
impl Unpin for UpdateInstruction
impl UnwindSafe for UpdateInstruction
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more