pub struct ModelConfigEntry {
pub primary: Option<String>,
pub backup: Option<String>,
pub retry_limit: Option<u32>,
pub failover_on: Option<HashSet<String>>,
pub settings: Option<Map<String, Value>>,
}Fields§
§primary: Option<String>§backup: Option<String>§retry_limit: Option<u32>§failover_on: Option<HashSet<String>>§settings: Option<Map<String, Value>>Implementations§
Source§impl ModelConfigEntry
impl ModelConfigEntry
Trait Implementations§
Source§impl Clone for ModelConfigEntry
impl Clone for ModelConfigEntry
Source§fn clone(&self) -> ModelConfigEntry
fn clone(&self) -> ModelConfigEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ModelConfigEntry
impl Debug for ModelConfigEntry
Source§impl Default for ModelConfigEntry
impl Default for ModelConfigEntry
Source§fn default() -> ModelConfigEntry
fn default() -> ModelConfigEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModelConfigEntry
impl PartialEq for ModelConfigEntry
impl StructuralPartialEq for ModelConfigEntry
Auto Trait Implementations§
impl Freeze for ModelConfigEntry
impl RefUnwindSafe for ModelConfigEntry
impl Send for ModelConfigEntry
impl Sync for ModelConfigEntry
impl Unpin for ModelConfigEntry
impl UnwindSafe for ModelConfigEntry
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