pub struct ACLRule {
pub callers: Vec<String>,
pub targets: Vec<String>,
pub effect: String,
pub description: Option<String>,
pub conditions: Option<Value>,
}Expand description
Defines an access control rule.
Fields§
§callers: Vec<String>§targets: Vec<String>§effect: String§description: Option<String>§conditions: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ACLRule
impl<'de> Deserialize<'de> for ACLRule
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 ACLRule
impl RefUnwindSafe for ACLRule
impl Send for ACLRule
impl Sync for ACLRule
impl Unpin for ACLRule
impl UnsafeUnpin for ACLRule
impl UnwindSafe for ACLRule
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