pub struct CustomEndpoint {
pub path: String,
pub method: String,
pub handler_name: String,
}
Expand description
Custom endpoint configuration
Fields§
§path: String
§method: String
§handler_name: String
Implementations§
Trait Implementations§
Source§impl Clone for CustomEndpoint
impl Clone for CustomEndpoint
Source§fn clone(&self) -> CustomEndpoint
fn clone(&self) -> CustomEndpoint
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 CustomEndpoint
impl RefUnwindSafe for CustomEndpoint
impl Send for CustomEndpoint
impl Sync for CustomEndpoint
impl Unpin for CustomEndpoint
impl UnwindSafe for CustomEndpoint
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