pub struct GrowPathCreate {
pub color: Value,
pub name: String,
pub sort_key: Option<i64>,
pub extra: Map<String, Value>,
}Expand description
Create a stage used by role-based person growth-path calculation.
Fields§
§color: ValueColor key accepted by the growth-path validator.
Allowed values: accent, amber, basic, blue, constructive, critical, cyan, destructive, emerald, error, fuchsia, gray, green, indigo, info, lime, magic, orange, pink, purple, red, rose, sky, success, teal, violet, warning, yellow.
name: StringTrimmed stage name or translation key, 1–100 characters. Duplicate names are allowed.
sort_key: Option<i64>Nonnegative display order and calculation priority; defaults to 0. Larger values take precedence when a person qualifies for several stages.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for GrowPathCreate
impl Clone for GrowPathCreate
Source§impl Debug for GrowPathCreate
impl Debug for GrowPathCreate
Source§impl Default for GrowPathCreate
impl Default for GrowPathCreate
Source§impl<'de> Deserialize<'de> for GrowPathCreate
impl<'de> Deserialize<'de> for GrowPathCreate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GrowPathCreate
impl PartialEq for GrowPathCreate
Source§impl Serialize for GrowPathCreate
impl Serialize for GrowPathCreate
impl StructuralPartialEq for GrowPathCreate
Auto Trait Implementations§
impl Freeze for GrowPathCreate
impl RefUnwindSafe for GrowPathCreate
impl Send for GrowPathCreate
impl Sync for GrowPathCreate
impl Unpin for GrowPathCreate
impl UnsafeUnpin for GrowPathCreate
impl UnwindSafe for GrowPathCreate
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