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: DatabaseMentionDate
Fields
§
date: DatePropertyValueLinkPreview
Fields
§
link_preview: LinkPreviewMentionTemplateMention
Fields
§
template_mention: TemplateMentionPage
Fields
§
page: PageMentionUser
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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.