pub struct PlainText {
pub text: String,
pub emoji: Option<bool>,
/* private fields */
}Expand description
A plain_text text object. https://docs.slack.dev/reference/block-kit/composition-objects/text-object
Fields§
§text: String§emoji: Option<bool>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PlainText
impl<'de> Deserialize<'de> for PlainText
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 From<PlainText> for TextObject
impl From<PlainText> for TextObject
Source§impl From<PlainText> for ContextElement
impl From<PlainText> for ContextElement
impl StructuralPartialEq for PlainText
Auto Trait Implementations§
impl Freeze for PlainText
impl RefUnwindSafe for PlainText
impl Send for PlainText
impl Sync for PlainText
impl Unpin for PlainText
impl UnsafeUnpin for PlainText
impl UnwindSafe for PlainText
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