pub enum DeliverPolicy {
All,
Last,
New,
ByStartSequence {
start_sequence: u64,
},
ByStartTime {
start_time: OffsetDateTime,
},
LastPerSubject,
}Variants§
Trait Implementations§
Source§impl Clone for DeliverPolicy
impl Clone for DeliverPolicy
Source§fn clone(&self) -> DeliverPolicy
fn clone(&self) -> DeliverPolicy
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 moreSource§impl Debug for DeliverPolicy
impl Debug for DeliverPolicy
Source§impl<'de> Deserialize<'de> for DeliverPolicy
impl<'de> Deserialize<'de> for DeliverPolicy
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 DeliverPolicy
Source§impl PartialEq for DeliverPolicy
impl PartialEq for DeliverPolicy
Source§fn eq(&self, other: &DeliverPolicy) -> bool
fn eq(&self, other: &DeliverPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeliverPolicy
impl Serialize for DeliverPolicy
impl StructuralPartialEq for DeliverPolicy
Auto Trait Implementations§
impl Freeze for DeliverPolicy
impl RefUnwindSafe for DeliverPolicy
impl Send for DeliverPolicy
impl Sync for DeliverPolicy
impl Unpin for DeliverPolicy
impl UnsafeUnpin for DeliverPolicy
impl UnwindSafe for DeliverPolicy
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.