pub struct CustomerTierUpdateInput {
pub name: MaybeUndefined<String>,
pub color: MaybeUndefined<String>,
pub description: MaybeUndefined<String>,
pub position: MaybeUndefined<f64>,
pub display_name: MaybeUndefined<String>,
}Expand description
Input for updating an existing customer tier.
Fields§
§name: MaybeUndefined<String>The updated internal name of the tier.
color: MaybeUndefined<String>The updated color of the tier indicator in the UI, as a HEX string.
description: MaybeUndefined<String>The updated description of the tier.
position: MaybeUndefined<f64>The updated sort position of the tier in the workspace’s customer tier ordering.
display_name: MaybeUndefined<String>The updated user-facing display name of the tier.
Trait Implementations§
Source§impl Clone for CustomerTierUpdateInput
impl Clone for CustomerTierUpdateInput
Source§fn clone(&self) -> CustomerTierUpdateInput
fn clone(&self) -> CustomerTierUpdateInput
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 CustomerTierUpdateInput
impl Debug for CustomerTierUpdateInput
Source§impl Default for CustomerTierUpdateInput
impl Default for CustomerTierUpdateInput
Source§fn default() -> CustomerTierUpdateInput
fn default() -> CustomerTierUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerTierUpdateInput
impl<'de> Deserialize<'de> for CustomerTierUpdateInput
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 CustomerTierUpdateInput
impl RefUnwindSafe for CustomerTierUpdateInput
impl Send for CustomerTierUpdateInput
impl Sync for CustomerTierUpdateInput
impl Unpin for CustomerTierUpdateInput
impl UnsafeUnpin for CustomerTierUpdateInput
impl UnwindSafe for CustomerTierUpdateInput
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