pub struct GraphRule {
pub effect: RuleEffect,
pub subject: Option<String>,
pub subject_has_role: Option<String>,
pub action: String,
pub resource: String,
pub conditions: GraphConditions,
}Fields§
§effect: RuleEffect§subject: Option<String>§subject_has_role: Option<String>§action: String§resource: String§conditions: GraphConditionsTrait Implementations§
Source§impl<'de> Deserialize<'de> for GraphRule
impl<'de> Deserialize<'de> for GraphRule
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 GraphRule
impl RefUnwindSafe for GraphRule
impl Send for GraphRule
impl Sync for GraphRule
impl Unpin for GraphRule
impl UnsafeUnpin for GraphRule
impl UnwindSafe for GraphRule
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