Struct polywrap_plugin::UriRedirect
source · pub struct UriRedirect {
pub from: Uri,
pub to: Uri,
}Fields§
§from: Uri§to: UriImplementations§
source§impl UriRedirect
impl UriRedirect
pub fn new(from: Uri, to: Uri) -> UriRedirect
Trait Implementations§
source§impl Clone for UriRedirect
impl Clone for UriRedirect
source§fn clone(&self) -> UriRedirect
fn clone(&self) -> UriRedirect
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 UriRedirect
impl Debug for UriRedirect
source§impl PartialEq for UriRedirect
impl PartialEq for UriRedirect
source§fn eq(&self, other: &UriRedirect) -> bool
fn eq(&self, other: &UriRedirect) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UriRedirect
Auto Trait Implementations§
impl RefUnwindSafe for UriRedirect
impl Send for UriRedirect
impl Sync for UriRedirect
impl Unpin for UriRedirect
impl UnwindSafe for UriRedirect
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