pub struct TextData {
pub text: String,
}Expand description
Represents the text data for JSON serialization.
Fields§
§text: StringThe original text as a string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TextData
impl RefUnwindSafe for TextData
impl Send for TextData
impl Sync for TextData
impl Unpin for TextData
impl UnsafeUnpin for TextData
impl UnwindSafe for TextData
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