pub struct NetworkRule {
pub host: String,
pub port: Option<u16>,
pub protocol: NetworkRuleProtocol,
pub decision: Decision,
}Expand description
Network rule for outbound connections
Fields§
§host: String§port: Option<u16>§protocol: NetworkRuleProtocol§decision: DecisionTrait Implementations§
Source§impl Clone for NetworkRule
impl Clone for NetworkRule
Source§fn clone(&self) -> NetworkRule
fn clone(&self) -> NetworkRule
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 NetworkRule
impl RefUnwindSafe for NetworkRule
impl Send for NetworkRule
impl Sync for NetworkRule
impl Unpin for NetworkRule
impl UnsafeUnpin for NetworkRule
impl UnwindSafe for NetworkRule
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