pub struct UnifiedParameter {
pub name: String,
pub location: ParameterLocation,
pub required: bool,
pub schema: UnifiedSchema,
pub description: Option<String>,
pub example: Option<Value>,
}Fields§
§name: String§location: ParameterLocation§required: bool§schema: UnifiedSchema§description: Option<String>§example: Option<Value>Trait Implementations§
Source§impl Clone for UnifiedParameter
impl Clone for UnifiedParameter
Source§fn clone(&self) -> UnifiedParameter
fn clone(&self) -> UnifiedParameter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnifiedParameter
impl RefUnwindSafe for UnifiedParameter
impl Send for UnifiedParameter
impl Sync for UnifiedParameter
impl Unpin for UnifiedParameter
impl UnsafeUnpin for UnifiedParameter
impl UnwindSafe for UnifiedParameter
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