pub struct InputTextContent {
pub text: String,
}Fields§
§text: StringThe text input to the model.
Trait Implementations§
Source§impl Clone for InputTextContent
impl Clone for InputTextContent
Source§fn clone(&self) -> InputTextContent
fn clone(&self) -> InputTextContent
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 InputTextContent
impl Debug for InputTextContent
Source§impl<'de> Deserialize<'de> for InputTextContent
impl<'de> Deserialize<'de> for InputTextContent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<InputTextContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<InputTextContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<InputTextContent> for InputContent
impl From<InputTextContent> for InputContent
Source§fn from(content: InputTextContent) -> InputContent
fn from(content: InputTextContent) -> InputContent
Converts to this type from the input type.
Source§impl<S> From<S> for InputTextContent
impl<S> From<S> for InputTextContent
Source§fn from(text: S) -> InputTextContent
fn from(text: S) -> InputTextContent
Converts to this type from the input type.
Source§impl PartialEq for InputTextContent
impl PartialEq for InputTextContent
Source§impl Serialize for InputTextContent
impl Serialize for InputTextContent
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for InputTextContent
Auto Trait Implementations§
impl Freeze for InputTextContent
impl RefUnwindSafe for InputTextContent
impl Send for InputTextContent
impl Sync for InputTextContent
impl Unpin for InputTextContent
impl UnsafeUnpin for InputTextContent
impl UnwindSafe for InputTextContent
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