pub struct RichTextCommon {
pub plain_text: String,
pub href: Option<String>,
pub annotations: Option<Annotations>,
}
Expand description
Properties common on all rich text objects See https://developers.notion.com/reference/rich-text#all-rich-text
Fields§
§plain_text: String
§href: Option<String>
§annotations: Option<Annotations>
Trait Implementations§
Source§impl Clone for RichTextCommon
impl Clone for RichTextCommon
Source§fn clone(&self) -> RichTextCommon
fn clone(&self) -> RichTextCommon
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RichTextCommon
impl Debug for RichTextCommon
Source§impl<'de> Deserialize<'de> for RichTextCommon
impl<'de> Deserialize<'de> for RichTextCommon
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 RichTextCommon
impl PartialEq for RichTextCommon
Source§impl Serialize for RichTextCommon
impl Serialize for RichTextCommon
impl Eq for RichTextCommon
impl StructuralPartialEq for RichTextCommon
Auto Trait Implementations§
impl Freeze for RichTextCommon
impl RefUnwindSafe for RichTextCommon
impl Send for RichTextCommon
impl Sync for RichTextCommon
impl Unpin for RichTextCommon
impl UnwindSafe for RichTextCommon
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§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.