pub struct ParamTable {
pub params: Vec<ParamForTable>,
/* private fields */
}Fields§
§params: Vec<ParamForTable>Implementations§
Source§impl ParamTable
impl ParamTable
pub fn print(&self)
pub fn named_param(&self, param: &str) -> Self
pub fn new<T>(value: &Value) -> Self
pub fn get_params<T>(oas: &T, value: &Value) -> Vec<ParamForTable>where
T: OAS,
Trait Implementations§
Source§impl Clone for ParamTable
impl Clone for ParamTable
Source§fn clone(&self) -> ParamTable
fn clone(&self) -> ParamTable
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 ParamTable
impl Debug for ParamTable
Source§impl Default for ParamTable
impl Default for ParamTable
Source§fn default() -> ParamTable
fn default() -> ParamTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParamTable
impl<'de> Deserialize<'de> for ParamTable
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 ParamTable
impl PartialEq for ParamTable
Source§impl Serialize for ParamTable
impl Serialize for ParamTable
impl Eq for ParamTable
impl StructuralPartialEq for ParamTable
Auto Trait Implementations§
impl Freeze for ParamTable
impl RefUnwindSafe for ParamTable
impl Send for ParamTable
impl Sync for ParamTable
impl Unpin for ParamTable
impl UnwindSafe for ParamTable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.