pub enum FunctionScheduling {
Interrupt,
WhenIdle,
Silent,
}Expand description
Scheduling values historically associated with Gemini 2.5 tool execution.
See FunctionDeclaration::scheduling for the current crate caveat.
Variants§
Interrupt
Immediately interrupt model output (default).
WhenIdle
Wait until the model is idle.
Silent
Run silently without interrupting.
Trait Implementations§
Source§impl Clone for FunctionScheduling
impl Clone for FunctionScheduling
Source§fn clone(&self) -> FunctionScheduling
fn clone(&self) -> FunctionScheduling
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 FunctionScheduling
impl Debug for FunctionScheduling
Source§impl<'de> Deserialize<'de> for FunctionScheduling
impl<'de> Deserialize<'de> for FunctionScheduling
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 FunctionScheduling
impl PartialEq for FunctionScheduling
Source§impl Serialize for FunctionScheduling
impl Serialize for FunctionScheduling
impl StructuralPartialEq for FunctionScheduling
Auto Trait Implementations§
impl Freeze for FunctionScheduling
impl RefUnwindSafe for FunctionScheduling
impl Send for FunctionScheduling
impl Sync for FunctionScheduling
impl Unpin for FunctionScheduling
impl UnsafeUnpin for FunctionScheduling
impl UnwindSafe for FunctionScheduling
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