pub struct PageProperty {Show 24 fields
pub id: String,
pub name: String,
pub type_name: String,
pub created_by: Option<User>,
pub created_time: Option<String>,
pub last_edited_by: Option<User>,
pub last_edited_time: Option<String>,
pub checkbox: Option<bool>,
pub date: Option<Date>,
pub email: Option<Email>,
pub files: Option<Vec<File>>,
pub formula: Option<Formula>,
pub multi_select: Option<Vec<SelectOption>>,
pub number: Option<f64>,
pub people: Option<Vec<User>>,
pub phone_number: Option<PhoneNumber>,
pub relation: Option<Vec<Relation>>,
pub rich_text: Option<Vec<RichText>>,
pub rollup: Option<Rollup>,
pub select: Option<SelectOption>,
pub status: Option<SelectOption>,
pub title: Option<Vec<RichText>>,
pub url: Option<String>,
pub unique_id: Option<UniqueId>,
}
Fields§
§id: String
§name: String
§type_name: String
§created_by: Option<User>
§created_time: Option<String>
§last_edited_by: Option<User>
§last_edited_time: Option<String>
§checkbox: Option<bool>
§date: Option<Date>
§email: Option<Email>
§files: Option<Vec<File>>
§formula: Option<Formula>
§multi_select: Option<Vec<SelectOption>>
§number: Option<f64>
§people: Option<Vec<User>>
§phone_number: Option<PhoneNumber>
§relation: Option<Vec<Relation>>
§rich_text: Option<Vec<RichText>>
§rollup: Option<Rollup>
§select: Option<SelectOption>
§status: Option<SelectOption>
§title: Option<Vec<RichText>>
§url: Option<String>
§unique_id: Option<UniqueId>
Implementations§
Source§impl PageProperty
impl PageProperty
pub fn checkbox(value: bool) -> Self
pub fn date(value: String) -> Self
pub fn email(value: String) -> Self
pub fn multi_select(value: Vec<String>) -> Self
pub fn number(value: f64) -> Self
pub fn phone_number(value: String) -> Self
pub fn relation(value: Vec<String>) -> Self
pub fn rich_text(value: Vec<RichText>) -> Self
pub fn select(value: String) -> Self
pub fn status(value: String) -> Self
pub fn title(value: RichText) -> Self
pub fn url(value: String) -> Self
pub fn get_value(&self) -> String
Trait Implementations§
Source§impl Clone for PageProperty
impl Clone for PageProperty
Source§fn clone(&self) -> PageProperty
fn clone(&self) -> PageProperty
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PageProperty
impl Debug for PageProperty
Source§impl Default for PageProperty
impl Default for PageProperty
Source§fn default() -> PageProperty
fn default() -> PageProperty
Returns the “default value” for a type. Read more
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
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