pub enum PageProperty {
Show 23 variants
Checkbox {
id: Option<String>,
checkbox: bool,
},
CreatedBy {
id: Option<String>,
created_by: User,
},
CreatedTime {
id: Option<String>,
created_time: DateTime<Utc>,
},
Date {
id: Option<String>,
date: Option<DatePropertyValue>,
},
Email {
id: Option<String>,
email: Option<String>,
},
Files {
id: Option<String>,
files: Vec<FilePropertyValue>,
},
Formula {
id: Option<String>,
formula: Option<FormulaPropertyValue>,
},
LastEditedBy {
id: Option<String>,
last_edited_by: User,
},
LastEditedTime {
id: Option<String>,
last_edited_time: Option<DateTime<Utc>>,
},
MultiSelect {
id: Option<String>,
multi_select: Vec<SelectPropertyValue>,
},
Number {
id: Option<String>,
number: Option<Number>,
},
People {
id: Option<String>,
people: Vec<User>,
},
PhoneNumber {
id: Option<String>,
phone_number: Option<String>,
},
Relation {
id: Option<String>,
relation: Vec<RelationPropertyValue>,
has_more: Option<bool>,
},
Rollup {
id: Option<String>,
rollup: Option<RollupPropertyValue>,
},
RichText {
id: Option<String>,
rich_text: Vec<RichText>,
},
Select {
id: Option<String>,
select: Option<SelectPropertyValue>,
},
Status {
id: Option<String>,
status: Option<SelectPropertyValue>,
},
Title {
id: Option<String>,
title: Vec<RichText>,
},
Url {
id: Option<String>,
url: Option<String>,
},
UniqueID {
id: Option<String>,
unique_id: Option<UniqueIDPropertyValue>,
},
Verification {
id: Option<String>,
verification: Option<VerificationPropertyValue>,
},
Button {
id: Option<String>,
},
}
Variants§
Checkbox
CreatedBy
CreatedTime
Date
Files
Formula
LastEditedBy
LastEditedTime
MultiSelect
Number
People
PhoneNumber
Relation
Rollup
RichText
Select
Status
Title
Url
UniqueID
Verification
Button
Trait Implementations§
Source§impl Clone for PageProperty
impl Clone for PageProperty
Source§fn clone(&self) -> PageProperty
fn clone(&self) -> PageProperty
Returns a copy 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 PageProperty
impl Debug for PageProperty
Source§impl<'de> Deserialize<'de> for PageProperty
impl<'de> Deserialize<'de> for PageProperty
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 PageProperty
impl PartialEq for PageProperty
Source§impl Serialize for PageProperty
impl Serialize for PageProperty
impl Eq for PageProperty
impl StructuralPartialEq for PageProperty
Auto Trait Implementations§
impl Freeze for PageProperty
impl RefUnwindSafe for PageProperty
impl Send for PageProperty
impl Sync for PageProperty
impl Unpin for PageProperty
impl UnwindSafe for PageProperty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.