pub struct CompiledNetworkRules {
pub allowed_domains: Vec<String>,
pub blocked_domains: Vec<String>,
}Expand description
Pre-compiled network rule domain patterns for a single policy.
Fields§
§allowed_domains: Vec<String>§blocked_domains: Vec<String>Trait Implementations§
Source§impl Clone for CompiledNetworkRules
impl Clone for CompiledNetworkRules
Source§fn clone(&self) -> CompiledNetworkRules
fn clone(&self) -> CompiledNetworkRules
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 moreAuto Trait Implementations§
impl Freeze for CompiledNetworkRules
impl RefUnwindSafe for CompiledNetworkRules
impl Send for CompiledNetworkRules
impl Sync for CompiledNetworkRules
impl Unpin for CompiledNetworkRules
impl UnsafeUnpin for CompiledNetworkRules
impl UnwindSafe for CompiledNetworkRules
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