pub struct ScreenAnalyzerConfig {
pub enabled: bool,
pub base_url: String,
pub api_key: String,
pub model: String,
pub interval_ms: u64,
pub stable_count: u32,
pub snapshot_max_chars: usize,
pub extra_headers: HashMap<String, String>,
pub extra_body: Map<String, Value>,
}Fields§
§enabled: bool§base_url: String§api_key: String§model: String§interval_ms: u64§stable_count: u32§snapshot_max_chars: usize§extra_headers: HashMap<String, String>§extra_body: Map<String, Value>Trait Implementations§
Source§impl Clone for ScreenAnalyzerConfig
impl Clone for ScreenAnalyzerConfig
Source§fn clone(&self) -> ScreenAnalyzerConfig
fn clone(&self) -> ScreenAnalyzerConfig
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 ScreenAnalyzerConfig
impl Debug for ScreenAnalyzerConfig
Source§impl Default for ScreenAnalyzerConfig
impl Default for ScreenAnalyzerConfig
Source§impl<'de> Deserialize<'de> for ScreenAnalyzerConfig
impl<'de> Deserialize<'de> for ScreenAnalyzerConfig
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 ScreenAnalyzerConfig
Source§impl PartialEq for ScreenAnalyzerConfig
impl PartialEq for ScreenAnalyzerConfig
Source§fn eq(&self, other: &ScreenAnalyzerConfig) -> bool
fn eq(&self, other: &ScreenAnalyzerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScreenAnalyzerConfig
impl Serialize for ScreenAnalyzerConfig
impl StructuralPartialEq for ScreenAnalyzerConfig
Auto Trait Implementations§
impl Freeze for ScreenAnalyzerConfig
impl RefUnwindSafe for ScreenAnalyzerConfig
impl Send for ScreenAnalyzerConfig
impl Sync for ScreenAnalyzerConfig
impl Unpin for ScreenAnalyzerConfig
impl UnsafeUnpin for ScreenAnalyzerConfig
impl UnwindSafe for ScreenAnalyzerConfig
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