pub struct ParameterInfo { /* private fields */ }
Implementations§
Source§impl ParameterInfo
impl ParameterInfo
pub fn name(&self) -> &str
pub fn parameter_type(&self) -> DataType
pub fn description(&self) -> &str
pub fn constraint(&self) -> &Constraint
pub fn default_value(&self) -> &str
pub fn optional(&self) -> bool
Trait Implementations§
Source§impl Clone for ParameterInfo
impl Clone for ParameterInfo
Source§fn clone(&self) -> ParameterInfo
fn clone(&self) -> ParameterInfo
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 ParameterInfo
impl Debug for ParameterInfo
Source§impl From<ParameterInfo> for ParameterInfo
impl From<ParameterInfo> for ParameterInfo
Source§fn from(value: ParameterInfo) -> Self
fn from(value: ParameterInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParameterInfo
impl RefUnwindSafe for ParameterInfo
impl Send for ParameterInfo
impl Sync for ParameterInfo
impl Unpin for ParameterInfo
impl UnwindSafe for ParameterInfo
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