pub struct PathModification {
pub strip_start: Option<String>,
pub prepend: Option<String>,
}
Fields§
§strip_start: Option<String>
When copying over the paths from your OpenAPI specification for this input, it will strip this string from the start of the path if it is found.
prepend: Option<String>
When copying over the paths from your OpenAPI specification for this input, it will prepend this string to the start of the path if it is found. `prepend`` will always run after stripStart so that it is deterministic.
Trait Implementations§
Source§impl Debug for PathModification
impl Debug for PathModification
Source§impl<'de> Deserialize<'de> for PathModification
impl<'de> Deserialize<'de> for PathModification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PathModification
impl RefUnwindSafe for PathModification
impl Send for PathModification
impl Sync for PathModification
impl Unpin for PathModification
impl UnwindSafe for PathModification
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