Struct zenoh_config::PolicyRule
source · pub struct PolicyRule {
pub subject: Subject,
pub key_expr: String,
pub action: Action,
pub permission: Permission,
pub flow: InterceptorFlow,
}
Fields§
§subject: Subject
§key_expr: String
§action: Action
§permission: Permission
§flow: InterceptorFlow
Trait Implementations§
source§impl Clone for PolicyRule
impl Clone for PolicyRule
source§fn clone(&self) -> PolicyRule
fn clone(&self) -> PolicyRule
Returns a copy 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 PolicyRule
impl Debug for PolicyRule
source§impl<'de> Deserialize<'de> for PolicyRule
impl<'de> Deserialize<'de> for PolicyRule
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 PolicyRule
impl RefUnwindSafe for PolicyRule
impl Send for PolicyRule
impl Sync for PolicyRule
impl Unpin for PolicyRule
impl UnwindSafe for PolicyRule
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