pub enum ClickUpFieldType {
Dropdown,
Labels,
Number,
Currency,
Checkbox,
Date,
Text,
Email,
Url,
Phone,
Unknown,
}Expand description
ClickUp custom field types with their transformation semantics.
Variants§
Dropdown
Single select dropdown → value is name, transforms to orderindex.
Labels
Multi-select labels → value is name array, transforms to id array.
Number
Numeric value → pass-through.
Currency
Currency value → pass-through as number.
Checkbox
Boolean → pass-through.
Date
Date → ISO 8601 or Unix timestamp ms.
Text
Free text → pass-through.
Email → pass-through as string.
Url
URL → pass-through as string.
Phone
Phone → pass-through as string.
Unknown
Catch-all for unknown/unsupported field types (automatic_progress, etc.)
Trait Implementations§
Source§impl Clone for ClickUpFieldType
impl Clone for ClickUpFieldType
Source§fn clone(&self) -> ClickUpFieldType
fn clone(&self) -> ClickUpFieldType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClickUpFieldType
impl Debug for ClickUpFieldType
Source§impl<'de> Deserialize<'de> for ClickUpFieldType
impl<'de> Deserialize<'de> for ClickUpFieldType
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 PartialEq for ClickUpFieldType
impl PartialEq for ClickUpFieldType
Source§fn eq(&self, other: &ClickUpFieldType) -> bool
fn eq(&self, other: &ClickUpFieldType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClickUpFieldType
impl Serialize for ClickUpFieldType
impl StructuralPartialEq for ClickUpFieldType
Auto Trait Implementations§
impl Freeze for ClickUpFieldType
impl RefUnwindSafe for ClickUpFieldType
impl Send for ClickUpFieldType
impl Sync for ClickUpFieldType
impl Unpin for ClickUpFieldType
impl UnsafeUnpin for ClickUpFieldType
impl UnwindSafe for ClickUpFieldType
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