Struct fkl_parser::mir::implementation::http_impl::api_contract::HttpEndpoint
source · [−]pub struct HttpEndpoint {
pub name: String,
pub description: String,
pub path: String,
pub auth: Option<HttpAuthorization>,
pub method: HttpMethod,
pub request: Option<Request>,
pub response: Option<Response>,
}
Fields
name: String
description: String
path: String
auth: Option<HttpAuthorization>
method: HttpMethod
request: Option<Request>
response: Option<Response>
Implementations
sourceimpl HttpEndpoint
impl HttpEndpoint
Trait Implementations
sourceimpl Clone for HttpEndpoint
impl Clone for HttpEndpoint
sourcefn clone(&self) -> HttpEndpoint
fn clone(&self) -> HttpEndpoint
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HttpEndpoint
impl Debug for HttpEndpoint
sourceimpl Default for HttpEndpoint
impl Default for HttpEndpoint
sourcefn default() -> HttpEndpoint
fn default() -> HttpEndpoint
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HttpEndpoint
impl<'de> Deserialize<'de> for HttpEndpoint
sourcefn 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
sourceimpl PartialEq<HttpEndpoint> for HttpEndpoint
impl PartialEq<HttpEndpoint> for HttpEndpoint
sourcefn eq(&self, other: &HttpEndpoint) -> bool
fn eq(&self, other: &HttpEndpoint) -> bool
sourceimpl Serialize for HttpEndpoint
impl Serialize for HttpEndpoint
impl Eq for HttpEndpoint
impl StructuralEq for HttpEndpoint
impl StructuralPartialEq for HttpEndpoint
Auto Trait Implementations
impl RefUnwindSafe for HttpEndpoint
impl Send for HttpEndpoint
impl Sync for HttpEndpoint
impl Unpin for HttpEndpoint
impl UnwindSafe for HttpEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.