#[non_exhaustive]pub struct TextParagraph {
pub text: String,
/* private fields */
}Expand description
A paragraph of text. Formatted text supported. For more information about formatting text, see Formatting text in Google Chat apps and Formatting text in Google Workspace Add-ons.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: StringImplementations§
Trait Implementations§
Source§impl Clone for TextParagraph
impl Clone for TextParagraph
Source§fn clone(&self) -> TextParagraph
fn clone(&self) -> TextParagraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TextParagraph
impl Debug for TextParagraph
Source§impl Default for TextParagraph
impl Default for TextParagraph
Source§fn default() -> TextParagraph
fn default() -> TextParagraph
Returns the “default value” for a type. Read more
Source§impl Message for TextParagraph
impl Message for TextParagraph
Source§impl PartialEq for TextParagraph
impl PartialEq for TextParagraph
impl StructuralPartialEq for TextParagraph
Auto Trait Implementations§
impl Freeze for TextParagraph
impl RefUnwindSafe for TextParagraph
impl Send for TextParagraph
impl Sync for TextParagraph
impl Unpin for TextParagraph
impl UnsafeUnpin for TextParagraph
impl UnwindSafe for TextParagraph
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