Struct static_web_server::settings::Rewrites
source · pub struct Rewrites {
pub source: GlobMatcher,
pub destination: String,
}Expand description
The Rewrites file options.
Fields§
§source: GlobMatcherSource pattern glob matcher
destination: StringA local file that must exist
Auto Trait Implementations§
impl RefUnwindSafe for Rewrites
impl Send for Rewrites
impl Sync for Rewrites
impl Unpin for Rewrites
impl UnwindSafe for Rewrites
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