pub struct CreateRouteParams {
pub pattern: String,
pub script: Option<String>,
}Expand description
pattern: the zone name along with glob-style wildcards e.g. “example.net/*” script: Name of the script to apply when the route is matched. The route is skipped when this is blank/missing.
Fields§
§pattern: String§script: Option<String>Trait Implementations§
Source§impl Clone for CreateRouteParams
impl Clone for CreateRouteParams
Source§fn clone(&self) -> CreateRouteParams
fn clone(&self) -> CreateRouteParams
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 moreSource§impl Debug for CreateRouteParams
impl Debug for CreateRouteParams
Auto Trait Implementations§
impl Freeze for CreateRouteParams
impl RefUnwindSafe for CreateRouteParams
impl Send for CreateRouteParams
impl Sync for CreateRouteParams
impl Unpin for CreateRouteParams
impl UnwindSafe for CreateRouteParams
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