pub struct IrParameter {
pub name: String,
pub location: ParameterLocation,
pub type_expr: IrTypeExpr,
pub required: bool,
pub description: Option<String>,
pub default_value: Option<Value>,
}Expand description
A fully resolved parameter.
Fields§
§name: String§location: ParameterLocation§type_expr: IrTypeExpr§required: bool§description: Option<String>§default_value: Option<Value>Trait Implementations§
Source§impl Clone for IrParameter
impl Clone for IrParameter
Source§fn clone(&self) -> IrParameter
fn clone(&self) -> IrParameter
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 IrParameter
impl Debug for IrParameter
Auto Trait Implementations§
impl Freeze for IrParameter
impl RefUnwindSafe for IrParameter
impl Send for IrParameter
impl Sync for IrParameter
impl Unpin for IrParameter
impl UnsafeUnpin for IrParameter
impl UnwindSafe for IrParameter
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