pub struct FloopyOptions {
pub cache: Option<CacheOptions>,
pub prompt_id: Option<String>,
pub prompt_version: Option<String>,
pub llm_security_enabled: Option<bool>,
}Expand description
Gateway behaviour toggles, mapped to Floopy-* headers and forwarded to
every request (both OpenAI-compatible and Floopy-only). Empty / None
fields are omitted.
Fields§
§cache: Option<CacheOptions>Cache controls. Maps to Floopy-Cache-* headers.
prompt_id: Option<String>Stored prompt id; the gateway resolves it to the active prompt
content. Maps to Floopy-Prompt-Id.
prompt_version: Option<String>Pinned prompt version. Use with prompt_id. Maps to
Floopy-Prompt-Version.
llm_security_enabled: Option<bool>Toggle the LLM firewall pre-check. Maps to
floopy-llm-security-enabled.
Trait Implementations§
Source§impl Clone for FloopyOptions
impl Clone for FloopyOptions
Source§fn clone(&self) -> FloopyOptions
fn clone(&self) -> FloopyOptions
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 FloopyOptions
impl Debug for FloopyOptions
Source§impl Default for FloopyOptions
impl Default for FloopyOptions
Source§fn default() -> FloopyOptions
fn default() -> FloopyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FloopyOptions
impl RefUnwindSafe for FloopyOptions
impl Send for FloopyOptions
impl Sync for FloopyOptions
impl Unpin for FloopyOptions
impl UnsafeUnpin for FloopyOptions
impl UnwindSafe for FloopyOptions
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