pub struct Page {Show 16 fields
pub parent: Parent,
pub properties: FxHashMap<String, PageProperty>,
pub object: String,
pub id: String,
pub created_time: String,
pub last_edited_time: String,
pub created_by: User,
pub last_edited_by: User,
pub archived: bool,
pub in_trash: bool,
pub next_cursor: Option<String>,
pub has_more: bool,
pub type_name: String,
pub status: u32,
pub code: String,
pub message: String,
}
Fields§
§parent: Parent
§properties: FxHashMap<String, PageProperty>
§object: String
§id: String
§created_time: String
§last_edited_time: String
§created_by: User
§last_edited_by: User
§archived: bool
§in_trash: bool
§next_cursor: Option<String>
§has_more: bool
§type_name: String
§status: u32
§code: String
§message: String
Implementations§
Source§impl Page
impl Page
pub fn from_properties(properties: FxHashMap<String, PageProperty>) -> Self
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
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