pub enum ActionAccessPermission {
Model {
name: String,
ops: Vec<ActionAccessModelOps>,
},
Content {
name: String,
},
Integration {
name: String,
},
Action {
name: String,
},
Auth {
ops: Vec<ActionAccessAuthOps>,
},
}Expand description
Defines access permissions that an Ordinary Action can configure.
Variants§
Model
Provides the action access to a given model.
Fields
§
ops: Vec<ActionAccessModelOps>List of allowed operations that the action can take on the model.
Content
Provides the action access to a given content def.
Integration
Provides the action access to a given integration.
Action
Provides the action access to another action.
Auth
Provides the action access to Ordinary Auth.
Fields
§
ops: Vec<ActionAccessAuthOps>Which operations the action is allowed to take.
Trait Implementations§
Source§impl Clone for ActionAccessPermission
impl Clone for ActionAccessPermission
Source§fn clone(&self) -> ActionAccessPermission
fn clone(&self) -> ActionAccessPermission
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 ActionAccessPermission
impl Debug for ActionAccessPermission
Source§impl<'de> Deserialize<'de> for ActionAccessPermission
impl<'de> Deserialize<'de> for ActionAccessPermission
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
Auto Trait Implementations§
impl Freeze for ActionAccessPermission
impl RefUnwindSafe for ActionAccessPermission
impl Send for ActionAccessPermission
impl Sync for ActionAccessPermission
impl Unpin for ActionAccessPermission
impl UnwindSafe for ActionAccessPermission
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