pub struct ParameterDoc {
pub name: String,
pub location: ParameterLocation,
pub description: String,
pub required: bool,
pub schema_type: String,
pub example: Option<String>,
}
Fields§
§name: String
§location: ParameterLocation
§description: String
§required: bool
§schema_type: String
§example: Option<String>
Trait Implementations§
Source§impl Clone for ParameterDoc
impl Clone for ParameterDoc
Source§fn clone(&self) -> ParameterDoc
fn clone(&self) -> ParameterDoc
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 moreAuto Trait Implementations§
impl Freeze for ParameterDoc
impl RefUnwindSafe for ParameterDoc
impl Send for ParameterDoc
impl Sync for ParameterDoc
impl Unpin for ParameterDoc
impl UnwindSafe for ParameterDoc
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