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