pub struct PrefixRewriteRule { /* private fields */ }Expand description
Segment-bounded path-prefix strip or rewrite entry.
Implementations§
Source§impl PrefixRewriteRule
impl PrefixRewriteRule
pub fn get_from(&self) -> &String
pub fn get_mut_from(&mut self) -> &mut String
pub fn set_from(&mut self, val: String) -> &mut Self
pub fn get_to(&self) -> &String
pub fn get_mut_to(&mut self) -> &mut String
pub fn set_to(&mut self, val: String) -> &mut Self
pub fn get_action(&self) -> RewriteAction
pub fn get_mut_action(&mut self) -> &mut RewriteAction
pub fn set_action(&mut self, val: RewriteAction) -> &mut Self
pub fn get_preserve_query(&self) -> bool
pub fn get_mut_preserve_query(&mut self) -> &mut bool
pub fn set_preserve_query(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for PrefixRewriteRule
impl Clone for PrefixRewriteRule
Source§impl Debug for PrefixRewriteRule
impl Debug for PrefixRewriteRule
impl Eq for PrefixRewriteRule
Source§impl PartialEq for PrefixRewriteRule
impl PartialEq for PrefixRewriteRule
impl StructuralPartialEq for PrefixRewriteRule
Auto Trait Implementations§
impl Forget for PrefixRewriteRule
impl Freeze for PrefixRewriteRule
impl Move for PrefixRewriteRule
impl RefUnwindSafe for PrefixRewriteRule
impl Send for PrefixRewriteRulewhere
RawVecInner: Send,
impl Sync for PrefixRewriteRulewhere
RawVecInner: Sync,
impl Unpin for PrefixRewriteRule
impl UnsafeUnpin for PrefixRewriteRule
impl UnwindSafe for PrefixRewriteRulewhere
RawVecInner: UnwindSafe,
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.