pub struct Page {
pub id: String,
pub created_time: DateTime<Utc>,
pub created_by: User,
pub last_edited_time: DateTime<Utc>,
pub last_edited_by: User,
pub archived: bool,
pub icon: Option<Icon>,
pub cover: Option<File>,
pub properties: HashMap<String, PageProperty>,
pub parent: Parent,
pub url: String,
pub public_url: Option<String>,
}
Fields§
§id: String
§created_time: DateTime<Utc>
§created_by: User
§last_edited_time: DateTime<Utc>
§last_edited_by: User
§archived: bool
§icon: Option<Icon>
§cover: Option<File>
§properties: HashMap<String, PageProperty>
§parent: Parent
§url: String
§public_url: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Page
impl<'de> Deserialize<'de> for Page
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
impl Eq for Page
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnwindSafe for Page
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.