pub struct CustomerStatusCreateInput {
pub id: MaybeUndefined<String>,
pub name: MaybeUndefined<String>,
pub color: String,
pub description: MaybeUndefined<String>,
pub position: MaybeUndefined<f64>,
pub display_name: MaybeUndefined<String>,
}Expand description
Input for creating a customer status in the workspace’s customer lifecycle flow.
Fields§
§id: MaybeUndefined<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: MaybeUndefined<String>The internal name of the status. At least one of name or displayName must be provided.
color: StringThe color of the status indicator in the UI, as a HEX string (e.g., ‘#ff0000’).
description: MaybeUndefined<String>An optional description explaining what this status represents.
position: MaybeUndefined<f64>The sort position of the status in the workspace’s customer lifecycle flow. If omitted or colliding, a position is automatically assigned at the end.
display_name: MaybeUndefined<String>The user-facing display name of the status. At least one of name or displayName must be provided.
Trait Implementations§
Source§impl Clone for CustomerStatusCreateInput
impl Clone for CustomerStatusCreateInput
Source§fn clone(&self) -> CustomerStatusCreateInput
fn clone(&self) -> CustomerStatusCreateInput
Returns a duplicate of the value. Read more
1.0.0 · 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 CustomerStatusCreateInput
impl Debug for CustomerStatusCreateInput
Source§impl Default for CustomerStatusCreateInput
impl Default for CustomerStatusCreateInput
Source§fn default() -> CustomerStatusCreateInput
fn default() -> CustomerStatusCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerStatusCreateInput
impl<'de> Deserialize<'de> for CustomerStatusCreateInput
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
Auto Trait Implementations§
impl Freeze for CustomerStatusCreateInput
impl RefUnwindSafe for CustomerStatusCreateInput
impl Send for CustomerStatusCreateInput
impl Sync for CustomerStatusCreateInput
impl Unpin for CustomerStatusCreateInput
impl UnsafeUnpin for CustomerStatusCreateInput
impl UnwindSafe for CustomerStatusCreateInput
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