pub struct ParameterSpec {
pub name: String,
pub value_type: ParameterType,
pub default: Option<ParameterValue>,
pub required: bool,
pub bounds: Option<String>,
}Fields§
§name: String§value_type: ParameterType§default: Option<ParameterValue>§required: bool§bounds: Option<String>Trait Implementations§
Source§impl Clone for ParameterSpec
impl Clone for ParameterSpec
Source§fn clone(&self) -> ParameterSpec
fn clone(&self) -> ParameterSpec
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 moreSource§impl Debug for ParameterSpec
impl Debug for ParameterSpec
Source§impl PartialEq for ParameterSpec
impl PartialEq for ParameterSpec
Source§fn eq(&self, other: &ParameterSpec) -> bool
fn eq(&self, other: &ParameterSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParameterSpec
Auto Trait Implementations§
impl Freeze for ParameterSpec
impl RefUnwindSafe for ParameterSpec
impl Send for ParameterSpec
impl Sync for ParameterSpec
impl Unpin for ParameterSpec
impl UnsafeUnpin for ParameterSpec
impl UnwindSafe for ParameterSpec
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