pub struct TextEntry {
pub text: Option<String>,
pub type_: Option<String>,
}Expand description
Represents a body of text.
This type is not used in any activity, and only used as part of another schema.
Fields§
§text: Option<String>UTF-8 encoded text.
type_: Option<String>Type of the text field.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TextEntry
impl<'de> Deserialize<'de> for TextEntry
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
impl Part for TextEntry
Auto Trait Implementations§
impl Freeze for TextEntry
impl RefUnwindSafe for TextEntry
impl Send for TextEntry
impl Sync for TextEntry
impl Unpin for TextEntry
impl UnwindSafe for TextEntry
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