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: StringThe human readable path of the endpoint
req_key: KeyThe Key of the request (which hashes the path and type)
req_ty: OwnedNamedTypeThe schema of the request type
resp_key: KeyThe Key of the response (which hashes the path and type)
resp_ty: OwnedNamedTypeThe 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 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 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 From<EndpointReport> for EndpointReport
impl From<EndpointReport> for EndpointReport
Source§fn from(value: EndpointReport) -> Self
fn from(value: EndpointReport) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for EndpointReport
impl JsonSchema for EndpointReport
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for EndpointReport
impl PartialEq 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