pub struct TextBuilder<T> { /* private fields */ }Expand description
Builder for Text object.
Implementations§
Source§impl<T> TextBuilder<T>
impl<T> TextBuilder<T>
Source§impl TextBuilder<Plain>
impl TextBuilder<Plain>
Source§impl TextBuilder<Mrkdwn>
impl TextBuilder<Mrkdwn>
Sourcepub fn get_verbatim(&self) -> Option<bool>
pub fn get_verbatim(&self) -> Option<bool>
get verbatim field value.
Sourcepub fn set_verbatim(
self,
verbatim: Option<impl Into<bool>>,
) -> TextBuilder<Mrkdwn>
pub fn set_verbatim( self, verbatim: Option<impl Into<bool>>, ) -> TextBuilder<Mrkdwn>
set verbatim field value.
Trait Implementations§
Source§impl<T: Debug> Debug for TextBuilder<T>
impl<T: Debug> Debug for TextBuilder<T>
Auto Trait Implementations§
impl<T> Freeze for TextBuilder<T>
impl<T> RefUnwindSafe for TextBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for TextBuilder<T>where
T: Send,
impl<T> Sync for TextBuilder<T>where
T: Sync,
impl<T> Unpin for TextBuilder<T>where
T: Unpin,
impl<T> UnsafeUnpin for TextBuilder<T>
impl<T> UnwindSafe for TextBuilder<T>where
T: UnwindSafe,
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