pub struct IndexPolicyUpdate {
pub interval: Option<Duration>,
pub backoff: Option<u32>,
pub tail_threshold: Option<u64>,
pub tail_deadline: Option<Duration>,
}Expand description
Partial IndexPolicy override; None fields are left unchanged.
Fields§
§interval: Option<Duration>New base interval, when set.
backoff: Option<u32>New duty-cycle multiplier, when set.
tail_threshold: Option<u64>New pending-datom threshold, when set.
tail_deadline: Option<Duration>New deferral deadline, when set.
Trait Implementations§
Source§impl Clone for IndexPolicyUpdate
impl Clone for IndexPolicyUpdate
Source§fn clone(&self) -> IndexPolicyUpdate
fn clone(&self) -> IndexPolicyUpdate
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 moreimpl Copy for IndexPolicyUpdate
Source§impl Debug for IndexPolicyUpdate
impl Debug for IndexPolicyUpdate
Source§impl Default for IndexPolicyUpdate
impl Default for IndexPolicyUpdate
Source§fn default() -> IndexPolicyUpdate
fn default() -> IndexPolicyUpdate
Returns the “default value” for a type. Read more
impl Eq for IndexPolicyUpdate
Source§impl PartialEq for IndexPolicyUpdate
impl PartialEq for IndexPolicyUpdate
impl StructuralPartialEq for IndexPolicyUpdate
Auto Trait Implementations§
impl Freeze for IndexPolicyUpdate
impl RefUnwindSafe for IndexPolicyUpdate
impl Send for IndexPolicyUpdate
impl Sync for IndexPolicyUpdate
impl Unpin for IndexPolicyUpdate
impl UnsafeUnpin for IndexPolicyUpdate
impl UnwindSafe for IndexPolicyUpdate
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<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.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