pub struct CustomerStatus {
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>,
pub type: Option<CustomerStatusType>,
}Expand description
A customer status.
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 status.
color: Option<String>The UI color of the status as a HEX string.
description: Option<String>Description of the status.
position: Option<f64>The position of the status in the workspace’s customers flow.
display_name: Option<String>The display name of the status.
type: Option<CustomerStatusType>The type of the customer status.
Trait Implementations§
Source§impl Clone for CustomerStatus
impl Clone for CustomerStatus
Source§fn clone(&self) -> CustomerStatus
fn clone(&self) -> CustomerStatus
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 CustomerStatus
impl Debug for CustomerStatus
Source§impl Default for CustomerStatus
impl Default for CustomerStatus
Source§fn default() -> CustomerStatus
fn default() -> CustomerStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomerStatuswhere
CustomerStatus: Default,
impl<'de> Deserialize<'de> for CustomerStatuswhere
CustomerStatus: 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 CustomerStatus
impl GraphQLFields for CustomerStatus
Auto Trait Implementations§
impl Freeze for CustomerStatus
impl RefUnwindSafe for CustomerStatus
impl Send for CustomerStatus
impl Sync for CustomerStatus
impl Unpin for CustomerStatus
impl UnwindSafe for CustomerStatus
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