pub enum ParameterType {
Show 15 variants
Boolean,
Integer,
Number,
String,
Quantity,
Enum,
Date,
DateTime,
Reference,
ObjectTypeReference,
PropertyReference,
Selector,
StringList,
ReferenceList,
Table(&'static [TableColumn]),
}Expand description
Supported declarative parameter types.
Variants§
Boolean
Integer
Number
String
Quantity
Enum
Date
An ISO 8601 calendar date, validated when the package is read.
DateTime
An ISO 8601 date-time with a UTC offset, validated when the package is read.
Reference
ObjectTypeReference
PropertyReference
Selector
StringList
ReferenceList
Table(&'static [TableColumn])
Rows of typed cells in the given columns.
Implementations§
Source§impl ParameterType
impl ParameterType
Sourcepub fn package_kind(self) -> &'static str
pub fn package_kind(self) -> &'static str
The kind’s spelling in a definition package.
Trait Implementations§
Source§impl Clone for ParameterType
impl Clone for ParameterType
impl Copy for ParameterType
Source§impl Debug for ParameterType
impl Debug for ParameterType
impl Eq for ParameterType
Source§impl PartialEq for ParameterType
impl PartialEq for ParameterType
impl StructuralPartialEq for ParameterType
Auto Trait Implementations§
impl Freeze for ParameterType
impl RefUnwindSafe for ParameterType
impl Send for ParameterType
impl Sync for ParameterType
impl Unpin for ParameterType
impl UnsafeUnpin for ParameterType
impl UnwindSafe for ParameterType
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