pub struct ParameterMetadata {
pub name: String,
pub ty: ParameterType,
pub default: Option<ParameterValue>,
pub required: bool,
}Expand description
A.1: Parameter metadata for primitives, including defaults. Used during expansion to resolve parameters when no binding is provided.
Fields§
§name: String§ty: ParameterType§default: Option<ParameterValue>§required: boolTrait Implementations§
Source§impl Clone for ParameterMetadata
impl Clone for ParameterMetadata
Source§fn clone(&self) -> ParameterMetadata
fn clone(&self) -> ParameterMetadata
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 ParameterMetadata
impl Debug for ParameterMetadata
Source§impl PartialEq for ParameterMetadata
impl PartialEq for ParameterMetadata
Source§fn eq(&self, other: &ParameterMetadata) -> bool
fn eq(&self, other: &ParameterMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParameterMetadata
Auto Trait Implementations§
impl Freeze for ParameterMetadata
impl RefUnwindSafe for ParameterMetadata
impl Send for ParameterMetadata
impl Sync for ParameterMetadata
impl Unpin for ParameterMetadata
impl UnsafeUnpin for ParameterMetadata
impl UnwindSafe for ParameterMetadata
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