pub struct Database {
pub obj: ObjectCommon,
pub properties: BTreeMap<String, Property>,
pub url: String,
pub public_url: Option<String>,
pub icon: Option<Icon>,
pub cover: Option<NotionFile>,
pub is_inline: bool,
pub title: Vec<RichText>,
pub description: Vec<RichText>,
/* 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>
§is_inline: bool
§title: Vec<RichText>
§description: Vec<RichText>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Database
impl<'de> Deserialize<'de> for Database
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 Database
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl UnwindSafe for Database
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