pub enum ApiParamPart {
Header(ApiTy),
Path(ApiTy),
Query(ApiTy),
Body {
content_type: String,
ty: ApiTy,
},
}
Variants§
Trait Implementations§
Source§impl Clone for ApiParamPart
impl Clone for ApiParamPart
Source§fn clone(&self) -> ApiParamPart
fn clone(&self) -> ApiParamPart
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 ApiParamPart
impl Debug for ApiParamPart
Source§impl<'de> Deserialize<'de> for ApiParamPart
impl<'de> Deserialize<'de> for ApiParamPart
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 ApiParamPart
impl PartialEq for ApiParamPart
Source§impl Serialize for ApiParamPart
impl Serialize for ApiParamPart
impl StructuralPartialEq for ApiParamPart
Auto Trait Implementations§
impl Freeze for ApiParamPart
impl RefUnwindSafe for ApiParamPart
impl Send for ApiParamPart
impl Sync for ApiParamPart
impl Unpin for ApiParamPart
impl UnwindSafe for ApiParamPart
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