pub struct Param {
pub name: &'static str,
pub kind: Kind,
pub label_key: &'static str,
pub values: &'static [EnumValue],
pub min: Option<i64>,
pub max: Option<i64>,
pub only_with: Option<(&'static str, &'static [&'static str])>,
pub agent_own: bool,
}Fields§
§name: &'static str§kind: Kind§label_key: &'static str§values: &'static [EnumValue]§min: Option<i64>§max: Option<i64>§only_with: Option<(&'static str, &'static [&'static str])>Allowed only when the place’s enum var (.0) holds one of these values (.1).
agent_own: boolTrait Implementations§
impl Copy for Param
impl Eq for Param
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