pub struct Page {
pub obj: ObjectCommon,
pub properties: BTreeMap<String, Property>,
pub url: String,
pub public_url: Option<String>,
pub icon: Option<Icon>,
pub cover: Option<NotionFile>,
/* private fields */
}
Expand description
Refer to:
Fields§
§obj: ObjectCommon
§properties: BTreeMap<String, Property>
§url: String
§public_url: Option<String>
§icon: Option<Icon>
§cover: Option<NotionFile>
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