pub struct HttpMountPathInfo {
pub path: String,
pub method: String,
pub summary: Option<String>,
}Expand description
Simplified path info for HttpMount composition.
Fields§
§path: StringThe path (relative to the mount point).
method: StringThe HTTP method (get, post, etc.).
summary: Option<String>Summary text.
Trait Implementations§
Source§impl Clone for HttpMountPathInfo
impl Clone for HttpMountPathInfo
Source§fn clone(&self) -> HttpMountPathInfo
fn clone(&self) -> HttpMountPathInfo
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 moreAuto Trait Implementations§
impl Freeze for HttpMountPathInfo
impl RefUnwindSafe for HttpMountPathInfo
impl Send for HttpMountPathInfo
impl Sync for HttpMountPathInfo
impl Unpin for HttpMountPathInfo
impl UnsafeUnpin for HttpMountPathInfo
impl UnwindSafe for HttpMountPathInfo
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