pub struct GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> { /* private fields */ }
Implementations§
Source§impl<'gemini> GeminiContentGenBuilder<'gemini, EnvVariableNotPresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
impl<'gemini> GeminiContentGenBuilder<'gemini, EnvVariableNotPresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
Source§impl<'gemini> GeminiContentGenBuilder<'gemini, EnvVariableNotPresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
impl<'gemini> GeminiContentGenBuilder<'gemini, EnvVariableNotPresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
pub fn env( self, env_variable: &'gemini str, ) -> GeminiContentGenBuilder<'gemini, EnvVariablePresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
Source§impl<'gemini> GeminiContentGenBuilder<'gemini, EnvVariablePresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
impl<'gemini> GeminiContentGenBuilder<'gemini, EnvVariablePresent, ModelNotPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
pub fn model( self, model: Models, ) -> GeminiContentGenBuilder<'gemini, EnvVariablePresent, ModelPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
Source§impl<'properties> GeminiContentGenBuilder<'properties, EnvVariablePresent, ModelPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
impl<'properties> GeminiContentGenBuilder<'properties, EnvVariablePresent, ModelPresent, ConfigNotPresent, TextNotPresent, InstructionNotPresent, PropertiesNotPresent>
pub fn kind( self, response: Kind<'properties>, ) -> GeminiContentGenBuilder<'properties, EnvVariablePresent, ModelPresent, ConfigPresent, TextNotPresent, InstructionNotPresent, PropertiesPresent>
Source§impl<'instruction> GeminiContentGenBuilder<'instruction, EnvVariablePresent, ModelPresent, ConfigPresent, TextNotPresent, InstructionNotPresent, PropertiesPresent>
impl<'instruction> GeminiContentGenBuilder<'instruction, EnvVariablePresent, ModelPresent, ConfigPresent, TextNotPresent, InstructionNotPresent, PropertiesPresent>
pub fn instruction( self, instruction: &'instruction str, ) -> GeminiContentGenBuilder<'instruction, EnvVariablePresent, ModelPresent, ConfigPresent, TextNotPresent, InstructionPresent, PropertiesPresent>
Source§impl<'text> GeminiContentGenBuilder<'text, EnvVariablePresent, ModelPresent, ConfigPresent, TextNotPresent, InstructionPresent, PropertiesPresent>
impl<'text> GeminiContentGenBuilder<'text, EnvVariablePresent, ModelPresent, ConfigPresent, TextNotPresent, InstructionPresent, PropertiesPresent>
pub fn text( self, text: &'text str, ) -> GeminiContentGenBuilder<'text, EnvVariablePresent, ModelPresent, ConfigPresent, TextPresent, InstructionPresent, PropertiesPresent>
Source§impl<'build> GeminiContentGenBuilder<'build, EnvVariablePresent, ModelPresent, ConfigPresent, TextPresent, InstructionPresent, PropertiesPresent>
impl<'build> GeminiContentGenBuilder<'build, EnvVariablePresent, ModelPresent, ConfigPresent, TextPresent, InstructionPresent, PropertiesPresent>
pub fn build(self) -> GeminiContentGen<'build>
Trait Implementations§
Auto Trait Implementations§
impl<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> Freeze for GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState>
impl<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> RefUnwindSafe for GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState>where
EnvState: RefUnwindSafe,
ModelState: RefUnwindSafe,
ConfigState: RefUnwindSafe,
InstructionState: RefUnwindSafe,
TextState: RefUnwindSafe,
PropertiesState: RefUnwindSafe,
impl<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> Send for GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState>
impl<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> Sync for GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState>
impl<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> Unpin for GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState>
impl<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState> UnwindSafe for GeminiContentGenBuilder<'gemini, EnvState, ModelState, ConfigState, InstructionState, TextState, PropertiesState>where
EnvState: UnwindSafe,
ModelState: UnwindSafe,
ConfigState: UnwindSafe,
InstructionState: UnwindSafe,
TextState: UnwindSafe,
PropertiesState: UnwindSafe,
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