pub struct RedirectRuleBuilder { /* private fields */ }Expand description
Builder for RedirectRule.
Implementations§
Source§impl RedirectRuleBuilder
impl RedirectRuleBuilder
pub fn action<VALUE: Into<RedirectRuleAction>>( &mut self, value: VALUE, ) -> &mut Self
pub fn direction<VALUE: Into<Direction>>(&mut self, value: VALUE) -> &mut Self
pub fn quick<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn log<VALUE: Into<RuleLogSet>>(&mut self, value: VALUE) -> &mut Self
pub fn interface<VALUE: Into<Interface>>(&mut self, value: VALUE) -> &mut Self
pub fn proto<VALUE: Into<Proto>>(&mut self, value: VALUE) -> &mut Self
pub fn af<VALUE: Into<AddrFamily>>(&mut self, value: VALUE) -> &mut Self
pub fn from<VALUE: Into<Endpoint>>(&mut self, value: VALUE) -> &mut Self
pub fn to<VALUE: Into<Endpoint>>(&mut self, value: VALUE) -> &mut Self
pub fn label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn user<VALUE: Into<Uid>>(&mut self, value: VALUE) -> &mut Self
pub fn group<VALUE: Into<Gid>>(&mut self, value: VALUE) -> &mut Self
pub fn redirect_to<VALUE: Into<Endpoint>>(&mut self, value: VALUE) -> &mut Self
Trait Implementations§
Source§impl Clone for RedirectRuleBuilder
impl Clone for RedirectRuleBuilder
Source§fn clone(&self) -> RedirectRuleBuilder
fn clone(&self) -> RedirectRuleBuilder
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 RedirectRuleBuilder
impl RefUnwindSafe for RedirectRuleBuilder
impl Send for RedirectRuleBuilder
impl Sync for RedirectRuleBuilder
impl Unpin for RedirectRuleBuilder
impl UnwindSafe for RedirectRuleBuilder
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