Struct notion_client::objects::database::Database
source · pub struct Database {Show 15 fields
pub id: Option<String>,
pub created_time: DateTime<Utc>,
pub created_by: Option<User>,
pub last_edited_time: DateTime<Utc>,
pub last_edited_by: Option<User>,
pub title: Vec<RichText>,
pub description: Vec<RichText>,
pub icon: Option<Icon>,
pub cover: Option<File>,
pub properties: HashMap<String, DatabaseProperty>,
pub parent: Parent,
pub url: String,
pub archived: bool,
pub is_inline: bool,
pub public_url: Option<bool>,
}Fields§
§id: Option<String>§created_time: DateTime<Utc>§created_by: Option<User>§last_edited_time: DateTime<Utc>§last_edited_by: Option<User>§title: Vec<RichText>§description: Vec<RichText>§icon: Option<Icon>§cover: Option<File>§properties: HashMap<String, DatabaseProperty>§parent: Parent§url: String§archived: bool§is_inline: bool§public_url: Option<bool>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
impl Eq for Database
impl StructuralPartialEq for Database
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.