pub struct EndpointInfo {
pub name: &'static str,
pub path: &'static str,
}Expand description
一个已支持 REST 能力的稳定名称和路径。
Fields§
§name: &'static str§path: &'static strTrait Implementations§
Source§impl Clone for EndpointInfo
impl Clone for EndpointInfo
impl Copy for EndpointInfo
Source§impl Debug for EndpointInfo
impl Debug for EndpointInfo
impl Eq for EndpointInfo
Source§impl PartialEq for EndpointInfo
impl PartialEq for EndpointInfo
impl StructuralPartialEq for EndpointInfo
Auto Trait Implementations§
impl Freeze for EndpointInfo
impl RefUnwindSafe for EndpointInfo
impl Send for EndpointInfo
impl Sync for EndpointInfo
impl Unpin for EndpointInfo
impl UnsafeUnpin for EndpointInfo
impl UnwindSafe for EndpointInfo
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