pub struct EndpointReport {
pub path: String,
pub req_key: Key,
pub req_ty: OwnedNamedType,
pub resp_key: Key,
pub resp_ty: OwnedNamedType,
}
Expand description
A description of a single Endpoint
Fields§
§path: String
The human readable path of the endpoint
req_key: Key
The Key of the request (which hashes the path and type)
req_ty: OwnedNamedType
The schema of the request type
resp_key: Key
The Key of the response (which hashes the path and type)
resp_ty: OwnedNamedType
The schema of the response type
Trait Implementations§
Source§impl Clone for EndpointReport
impl Clone for EndpointReport
Source§fn clone(&self) -> EndpointReport
fn clone(&self) -> EndpointReport
Returns a copy 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 moreSource§impl Debug for EndpointReport
impl Debug for EndpointReport
Source§impl<'de> Deserialize<'de> for EndpointReport
impl<'de> Deserialize<'de> for EndpointReport
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
Source§impl PartialEq for EndpointReport
impl PartialEq for EndpointReport
Source§impl Schema for EndpointReport
impl Schema for EndpointReport
Source§impl Serialize for EndpointReport
impl Serialize for EndpointReport
impl StructuralPartialEq for EndpointReport
Auto Trait Implementations§
impl Freeze for EndpointReport
impl RefUnwindSafe for EndpointReport
impl Send for EndpointReport
impl Sync for EndpointReport
impl Unpin for EndpointReport
impl UnwindSafe for EndpointReport
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