pub struct TextParagraphBuilder { /* private fields */ }
Expand description
Builder for TextParagraph
.
Implementations§
Source§impl TextParagraphBuilder
impl TextParagraphBuilder
pub fn text<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<TextParagraph, ChatTypeBuildError>
pub fn build(&self) -> Result<TextParagraph, ChatTypeBuildError>
Trait Implementations§
Source§impl Clone for TextParagraphBuilder
impl Clone for TextParagraphBuilder
Source§fn clone(&self) -> TextParagraphBuilder
fn clone(&self) -> TextParagraphBuilder
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 moreAuto Trait Implementations§
impl Freeze for TextParagraphBuilder
impl RefUnwindSafe for TextParagraphBuilder
impl Send for TextParagraphBuilder
impl Sync for TextParagraphBuilder
impl Unpin for TextParagraphBuilder
impl UnwindSafe for TextParagraphBuilder
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