Struct sfr_types::PlainTextObject
source · 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 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 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
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)