pub struct WorkerEnvOverrides {
pub embedding_endpoint: Option<String>,
pub ocr_endpoint: Option<String>,
pub vision_endpoint: Option<String>,
pub extractor_endpoint: Option<String>,
pub max_in_flight: Option<usize>,
pub silent_updates_enabled: Option<bool>,
}Expand description
Worker and service-operator settings read from relay-specific environment variables.
Fields§
§embedding_endpoint: Option<String>§ocr_endpoint: Option<String>§vision_endpoint: Option<String>§extractor_endpoint: Option<String>§max_in_flight: Option<usize>§silent_updates_enabled: Option<bool>Trait Implementations§
Source§impl Clone for WorkerEnvOverrides
impl Clone for WorkerEnvOverrides
Source§fn clone(&self) -> WorkerEnvOverrides
fn clone(&self) -> WorkerEnvOverrides
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 WorkerEnvOverrides
impl Debug for WorkerEnvOverrides
Source§impl Default for WorkerEnvOverrides
impl Default for WorkerEnvOverrides
Source§fn default() -> WorkerEnvOverrides
fn default() -> WorkerEnvOverrides
Returns the “default value” for a type. Read more
Source§impl PartialEq for WorkerEnvOverrides
impl PartialEq for WorkerEnvOverrides
Source§fn eq(&self, other: &WorkerEnvOverrides) -> bool
fn eq(&self, other: &WorkerEnvOverrides) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WorkerEnvOverrides
impl StructuralPartialEq for WorkerEnvOverrides
Auto Trait Implementations§
impl Freeze for WorkerEnvOverrides
impl RefUnwindSafe for WorkerEnvOverrides
impl Send for WorkerEnvOverrides
impl Sync for WorkerEnvOverrides
impl Unpin for WorkerEnvOverrides
impl UnsafeUnpin for WorkerEnvOverrides
impl UnwindSafe for WorkerEnvOverrides
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