pub struct PathQuery {
pub path: String,
}Expand description
Query parameters shared by the single-path endpoints. Query for the routes that take nothing but a path.
deny_unknown_fields reaches querystrings, not just JSON bodies — the
extractor runs a different deserialiser, so this was confirmed rather than
assumed. See ExecuteCommandRequest for why every request type is strict.
Fields§
§path: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for PathQuery
impl<'de> Deserialize<'de> for PathQuery
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 PathQuery
impl RefUnwindSafe for PathQuery
impl Send for PathQuery
impl Sync for PathQuery
impl Unpin for PathQuery
impl UnsafeUnpin for PathQuery
impl UnwindSafe for PathQuery
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