pub struct ModelRouteConfig {
pub translation: ModelEndpoint,
pub repair: Option<ModelEndpoint>,
pub qa: Option<ModelEndpoint>,
pub double_check: Option<ModelEndpoint>,
pub fallback: Option<ModelEndpoint>,
}Fields§
§translation: ModelEndpoint§repair: Option<ModelEndpoint>§qa: Option<ModelEndpoint>§double_check: Option<ModelEndpoint>§fallback: Option<ModelEndpoint>Trait Implementations§
Source§impl Clone for ModelRouteConfig
impl Clone for ModelRouteConfig
Source§fn clone(&self) -> ModelRouteConfig
fn clone(&self) -> ModelRouteConfig
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 moreAuto Trait Implementations§
impl Freeze for ModelRouteConfig
impl RefUnwindSafe for ModelRouteConfig
impl Send for ModelRouteConfig
impl Sync for ModelRouteConfig
impl Unpin for ModelRouteConfig
impl UnsafeUnpin for ModelRouteConfig
impl UnwindSafe for ModelRouteConfig
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