pub struct PlainTextObject {
pub text: String,
pub emoji: Option<bool>,
}Expand description
A type that represents plain_text in TextObject.
Fields§
§text: StringThe text for the block.
emoji: Option<bool>Indicates whether emojis in a text field should be escaped into the colon emoji format.
Trait Implementations§
Source§impl Clone for PlainTextObject
impl Clone for PlainTextObject
Source§fn clone(&self) -> PlainTextObject
fn clone(&self) -> PlainTextObject
Returns a duplicate 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 PlainTextObject
impl Debug for PlainTextObject
Auto Trait Implementations§
impl Freeze for PlainTextObject
impl RefUnwindSafe for PlainTextObject
impl Send for PlainTextObject
impl Sync for PlainTextObject
impl Unpin for PlainTextObject
impl UnwindSafe for PlainTextObject
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