pub struct PromotionConfig {
pub stale_learner_threshold: Duration,
pub stale_check_interval: Duration,
}
Fields§
§stale_learner_threshold: Duration
§stale_check_interval: Duration
Trait Implementations§
Source§impl Clone for PromotionConfig
impl Clone for PromotionConfig
Source§fn clone(&self) -> PromotionConfig
fn clone(&self) -> PromotionConfig
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 PromotionConfig
impl Debug for PromotionConfig
Source§impl Default for PromotionConfig
impl Default for PromotionConfig
Source§impl<'de> Deserialize<'de> for PromotionConfig
impl<'de> Deserialize<'de> for PromotionConfig
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
Auto Trait Implementations§
impl Freeze for PromotionConfig
impl RefUnwindSafe for PromotionConfig
impl Send for PromotionConfig
impl Sync for PromotionConfig
impl Unpin for PromotionConfig
impl UnwindSafe for PromotionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request