pub struct InputTextContent2 {
pub text: String,
}
Fields§
§text: String
The text input to the model.
Implementations§
Trait Implementations§
Source§impl Clone for InputTextContent2
impl Clone for InputTextContent2
Source§fn clone(&self) -> InputTextContent2
fn clone(&self) -> InputTextContent2
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 InputTextContent2
impl Debug for InputTextContent2
Source§impl<'de> Deserialize<'de> for InputTextContent2
impl<'de> Deserialize<'de> for InputTextContent2
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 InputTextContent2
impl PartialEq for InputTextContent2
Source§impl Serialize for InputTextContent2
impl Serialize for InputTextContent2
impl StructuralPartialEq for InputTextContent2
Auto Trait Implementations§
impl Freeze for InputTextContent2
impl RefUnwindSafe for InputTextContent2
impl Send for InputTextContent2
impl Sync for InputTextContent2
impl Unpin for InputTextContent2
impl UnwindSafe for InputTextContent2
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