pub struct PolicyInput {
    pub action: String,
    pub allowed: bool,
    pub role: String,
}Fields§
§action: StringA valid Action ID. Available Action IDs include ‘CreateInstance’ and ‘ManagePermissions’. Find all available Actions on the Actions API.
allowed: boolWhether the Action is allowed or not for the Role
role: StringA valid Role ID. Available Role IDs include ‘admin’ and ‘basic_member’.
Implementations§
Source§impl PolicyInput
 
impl PolicyInput
Trait Implementations§
Source§impl Clone for PolicyInput
 
impl Clone for PolicyInput
Source§fn clone(&self) -> PolicyInput
 
fn clone(&self) -> PolicyInput
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 PolicyInput
 
impl Debug for PolicyInput
Source§impl Default for PolicyInput
 
impl Default for PolicyInput
Source§fn default() -> PolicyInput
 
fn default() -> PolicyInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyInput
 
impl<'de> Deserialize<'de> for PolicyInput
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 PartialEq for PolicyInput
 
impl PartialEq for PolicyInput
Source§impl Serialize for PolicyInput
 
impl Serialize for PolicyInput
impl StructuralPartialEq for PolicyInput
Auto Trait Implementations§
impl Freeze for PolicyInput
impl RefUnwindSafe for PolicyInput
impl Send for PolicyInput
impl Sync for PolicyInput
impl Unpin for PolicyInput
impl UnwindSafe for PolicyInput
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