pub struct CustomParam {
pub name: String,
pub param: CustomParamTypes,
pub description: Option<String>,
pub required: bool,
}
Fields§
§name: String
§param: CustomParamTypes
§description: Option<String>
§required: bool
Trait Implementations§
Source§impl Clone for CustomParam
impl Clone for CustomParam
Source§fn clone(&self) -> CustomParam
fn clone(&self) -> CustomParam
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 CustomParam
impl Debug for CustomParam
Source§impl<'de> Deserialize<'de> for CustomParam
impl<'de> Deserialize<'de> for CustomParam
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 CustomParam
impl PartialEq for CustomParam
Source§impl Serialize for CustomParam
impl Serialize for CustomParam
impl StructuralPartialEq for CustomParam
Auto Trait Implementations§
impl Freeze for CustomParam
impl RefUnwindSafe for CustomParam
impl Send for CustomParam
impl Sync for CustomParam
impl Unpin for CustomParam
impl UnwindSafe for CustomParam
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