pub struct CustomerTierCreateInput {
pub id: Option<String>,
pub name: Option<String>,
pub color: Option<String>,
pub description: Option<String>,
pub position: Option<f64>,
pub display_name: Option<String>,
}Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: Option<String>The name of the tier.
color: Option<String>The UI color of the tier as a HEX string.
description: Option<String>Description of the tier.
position: Option<f64>The position of the tier in the workspace’s customer flow.
display_name: Option<String>The display name of the tier.
Trait Implementations§
Source§impl Clone for CustomerTierCreateInput
impl Clone for CustomerTierCreateInput
Source§fn clone(&self) -> CustomerTierCreateInput
fn clone(&self) -> CustomerTierCreateInput
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 CustomerTierCreateInput
impl Debug for CustomerTierCreateInput
Source§impl Default for CustomerTierCreateInput
impl Default for CustomerTierCreateInput
Source§fn default() -> CustomerTierCreateInput
fn default() -> CustomerTierCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerTierCreateInput
impl<'de> Deserialize<'de> for CustomerTierCreateInput
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 CustomerTierCreateInput
impl RefUnwindSafe for CustomerTierCreateInput
impl Send for CustomerTierCreateInput
impl Sync for CustomerTierCreateInput
impl Unpin for CustomerTierCreateInput
impl UnwindSafe for CustomerTierCreateInput
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