pub struct NamespacePolicyConfig {
pub visible: Option<Vec<String>>,
pub denied: Option<Vec<String>>,
}Expand description
Namespace policy overrides declared in a plugin manifest.
By default, plugin actors may only address actors within their own
namespace (/plugins/<name>/) and /system/. This struct lets a manifest
grant additional visibility or explicit denials.
Fields§
§visible: Option<Vec<String>>Additional namespaces plugin actors may send to.
denied: Option<Vec<String>>Namespaces plugin actors are explicitly denied access to.
Trait Implementations§
Source§impl Clone for NamespacePolicyConfig
impl Clone for NamespacePolicyConfig
Source§fn clone(&self) -> NamespacePolicyConfig
fn clone(&self) -> NamespacePolicyConfig
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 NamespacePolicyConfig
impl Debug for NamespacePolicyConfig
Source§impl<'de> Deserialize<'de> for NamespacePolicyConfig
impl<'de> Deserialize<'de> for NamespacePolicyConfig
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 NamespacePolicyConfig
impl RefUnwindSafe for NamespacePolicyConfig
impl Send for NamespacePolicyConfig
impl Sync for NamespacePolicyConfig
impl Unpin for NamespacePolicyConfig
impl UnsafeUnpin for NamespacePolicyConfig
impl UnwindSafe for NamespacePolicyConfig
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