Struct pfctl::RedirectRule
source · pub struct RedirectRule { /* private fields */ }
Implementations§
source§impl RedirectRule
impl RedirectRule
sourcepub fn get_redirect_to(&self) -> Endpoint
pub fn get_redirect_to(&self) -> Endpoint
Accessor for redirect_to
Trait Implementations§
source§impl Clone for RedirectRule
impl Clone for RedirectRule
source§fn clone(&self) -> RedirectRule
fn clone(&self) -> RedirectRule
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 RedirectRule
impl Debug for RedirectRule
source§impl Hash for RedirectRule
impl Hash for RedirectRule
source§impl PartialEq for RedirectRule
impl PartialEq for RedirectRule
source§fn eq(&self, other: &RedirectRule) -> bool
fn eq(&self, other: &RedirectRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RedirectRule
impl StructuralPartialEq for RedirectRule
Auto Trait Implementations§
impl Freeze for RedirectRule
impl RefUnwindSafe for RedirectRule
impl Send for RedirectRule
impl Sync for RedirectRule
impl Unpin for RedirectRule
impl UnwindSafe for RedirectRule
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