pub struct Param {
pub name: String,
pub default: Value,
pub annotations: Vec<Annotation>,
}Expand description
A flow parameter: a constant the host may set when an instance starts.
Fields§
§name: StringThe param’s name.
default: ValueThe value an instance gets when the host doesn’t set one.
annotations: Vec<Annotation>The annotations on the param declaration.
Trait Implementations§
impl StructuralPartialEq for Param
Auto Trait Implementations§
impl Freeze for Param
impl RefUnwindSafe for Param
impl Send for Param
impl Sync for Param
impl Unpin for Param
impl UnsafeUnpin for Param
impl UnwindSafe for Param
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