pub struct CustomerTier {
pub id: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub archived_at: Option<DateTime<Utc>>,
pub name: Option<String>,
pub color: Option<String>,
pub description: Option<String>,
pub position: Option<f64>,
pub display_name: Option<String>,
}Expand description
A customer tier.
Fields§
§id: Option<String>The unique identifier of the entity.
created_at: Option<DateTime<Utc>>The time at which the entity was created.
updated_at: Option<DateTime<Utc>>The last time at which the entity was meaningfully updated. This is the same as the creation time if the entity hasn’t been updated after creation.
archived_at: Option<DateTime<Utc>>The time at which the entity was archived. Null if the entity has not been archived.
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 customers flow.
display_name: Option<String>The display name of the tier.
Trait Implementations§
Source§impl Clone for CustomerTier
impl Clone for CustomerTier
Source§fn clone(&self) -> CustomerTier
fn clone(&self) -> CustomerTier
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 CustomerTier
impl Debug for CustomerTier
Source§impl Default for CustomerTier
impl Default for CustomerTier
Source§fn default() -> CustomerTier
fn default() -> CustomerTier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerTierwhere
CustomerTier: Default,
impl<'de> Deserialize<'de> for CustomerTierwhere
CustomerTier: Default,
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 GraphQLFields for CustomerTier
impl GraphQLFields for CustomerTier
Auto Trait Implementations§
impl Freeze for CustomerTier
impl RefUnwindSafe for CustomerTier
impl Send for CustomerTier
impl Sync for CustomerTier
impl Unpin for CustomerTier
impl UnwindSafe for CustomerTier
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