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 code_index_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>§code_index_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
impl Eq for WorkerEnvOverrides
Source§impl PartialEq for WorkerEnvOverrides
impl PartialEq 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.