pub struct StickyDurationMs(/* private fields */);Expand description
Sticky duration in milliseconds.
Valid values are the integer range 0-3600000 (1 hour).
Implementations§
Trait Implementations§
Source§impl Clone for StickyDurationMs
impl Clone for StickyDurationMs
Source§fn clone(&self) -> StickyDurationMs
fn clone(&self) -> StickyDurationMs
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 StickyDurationMs
Source§impl Debug for StickyDurationMs
impl Debug for StickyDurationMs
Source§impl<'de> Deserialize<'de> for StickyDurationMs
impl<'de> Deserialize<'de> for StickyDurationMs
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
impl Eq for StickyDurationMs
Source§impl From<StickyDurationMs> for u32
impl From<StickyDurationMs> for u32
Source§fn from(d: StickyDurationMs) -> Self
fn from(d: StickyDurationMs) -> Self
Converts to this type from the input type.
Source§impl Ord for StickyDurationMs
impl Ord for StickyDurationMs
Source§fn cmp(&self, other: &StickyDurationMs) -> Ordering
fn cmp(&self, other: &StickyDurationMs) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StickyDurationMs
impl PartialEq for StickyDurationMs
Source§fn eq(&self, other: &StickyDurationMs) -> bool
fn eq(&self, other: &StickyDurationMs) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for StickyDurationMs
impl PartialOrd for StickyDurationMs
Source§impl Serialize for StickyDurationMs
impl Serialize for StickyDurationMs
impl StructuralPartialEq for StickyDurationMs
Auto Trait Implementations§
impl Freeze for StickyDurationMs
impl RefUnwindSafe for StickyDurationMs
impl Send for StickyDurationMs
impl Sync for StickyDurationMs
impl Unpin for StickyDurationMs
impl UnsafeUnpin for StickyDurationMs
impl UnwindSafe for StickyDurationMs
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
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.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more