pub enum KeepWarm {
Off,
FiveMinute,
}Expand description
Whether this city renews a warm prompt cache before it expires.
Variants§
Off
No renewal is ever planned: the city sends no request of its own.
FiveMinute
A prefix a real request carried within the last cache lifetime is renewed once, just before that lifetime ends.
Trait Implementations§
impl Copy for KeepWarm
Source§impl<'de> Deserialize<'de> for KeepWarm
impl<'de> Deserialize<'de> for KeepWarm
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
impl Eq for KeepWarm
impl StructuralPartialEq for KeepWarm
Auto Trait Implementations§
impl Freeze for KeepWarm
impl RefUnwindSafe for KeepWarm
impl Send for KeepWarm
impl Sync for KeepWarm
impl Unpin for KeepWarm
impl UnsafeUnpin for KeepWarm
impl UnwindSafe for KeepWarm
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