pub struct TextContentPart {
pub text: String,
}
Fields§
§text: String
Trait Implementations§
Source§impl Clone for TextContentPart
impl Clone for TextContentPart
Source§fn clone(&self) -> TextContentPart
fn clone(&self) -> TextContentPart
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 moreSource§impl Debug for TextContentPart
impl Debug for TextContentPart
Source§impl Default for TextContentPart
impl Default for TextContentPart
Source§fn default() -> TextContentPart
fn default() -> TextContentPart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextContentPart
impl<'de> Deserialize<'de> for TextContentPart
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 PartialEq for TextContentPart
impl PartialEq for TextContentPart
Source§impl Serialize for TextContentPart
impl Serialize for TextContentPart
impl StructuralPartialEq for TextContentPart
Auto Trait Implementations§
impl Freeze for TextContentPart
impl RefUnwindSafe for TextContentPart
impl Send for TextContentPart
impl Sync for TextContentPart
impl Unpin for TextContentPart
impl UnwindSafe for TextContentPart
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