Enum notion_client::objects::rich_text::Mention
source · pub enum Mention {
Database {
database: DatabaseMention,
},
Date {
date: DatePropertyValue,
},
LinkPreview {
link_preview: LinkPreviewMention,
},
TemplateMention {
template_mention: TemplateMention,
},
Page {
page: PageMention,
},
User {
user: User,
},
}
Variants§
Database
Fields
§
database: DatabaseMention
Date
Fields
§
date: DatePropertyValue
LinkPreview
Fields
§
link_preview: LinkPreviewMention
TemplateMention
Fields
§
template_mention: TemplateMention
Page
Fields
§
page: PageMention
User
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mention
impl<'de> Deserialize<'de> for Mention
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
source§impl PartialEq for Mention
impl PartialEq for Mention
impl Eq for Mention
impl StructuralPartialEq for Mention
Auto Trait Implementations§
impl Freeze for Mention
impl RefUnwindSafe for Mention
impl Send for Mention
impl Sync for Mention
impl Unpin for Mention
impl UnwindSafe for Mention
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<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.