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