pub struct EnvelopeSyncFilters {
pub before: Option<DateTime<Local>>,
pub after: Option<DateTime<Local>>,
}Fields§
§before: Option<DateTime<Local>>Filter envelopes with a Date header more recent than the given
date.
after: Option<DateTime<Local>>Filter envelopes with a Date header older than the given date.
Implementations§
source§impl EnvelopeSyncFilters
impl EnvelopeSyncFilters
pub fn set_some_after(&mut self, date: Option<impl Into<DateTime<Local>>>)
pub fn set_after(&mut self, date: impl Into<DateTime<Local>>)
pub fn with_some_after(self, date: Option<impl Into<DateTime<Local>>>) -> Self
pub fn with_after(self, date: impl Into<DateTime<Local>>) -> Self
pub fn after(&self) -> Option<&DateTime<Local>>
pub fn set_some_before(&mut self, date: Option<impl Into<DateTime<Local>>>)
pub fn set_before(&mut self, date: impl Into<DateTime<Local>>)
pub fn with_some_before(self, date: Option<impl Into<DateTime<Local>>>) -> Self
pub fn with_before(self, date: impl Into<DateTime<Local>>) -> Self
pub fn before(&self) -> Option<&DateTime<Local>>
pub fn matches(&self, envelope: &Envelope) -> bool
pub fn matches_after(&self, date: &DateTime<Local>) -> bool
pub fn matches_before(&self, date: &DateTime<Local>) -> bool
Trait Implementations§
source§impl Clone for EnvelopeSyncFilters
impl Clone for EnvelopeSyncFilters
source§fn clone(&self) -> EnvelopeSyncFilters
fn clone(&self) -> EnvelopeSyncFilters
Returns a copy 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 EnvelopeSyncFilters
impl Debug for EnvelopeSyncFilters
source§impl Default for EnvelopeSyncFilters
impl Default for EnvelopeSyncFilters
source§fn default() -> EnvelopeSyncFilters
fn default() -> EnvelopeSyncFilters
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnvelopeSyncFilters
impl<'de> Deserialize<'de> for EnvelopeSyncFilters
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
source§impl PartialEq for EnvelopeSyncFilters
impl PartialEq for EnvelopeSyncFilters
source§fn eq(&self, other: &EnvelopeSyncFilters) -> bool
fn eq(&self, other: &EnvelopeSyncFilters) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EnvelopeSyncFilters
impl Serialize for EnvelopeSyncFilters
impl Eq for EnvelopeSyncFilters
impl StructuralPartialEq for EnvelopeSyncFilters
Auto Trait Implementations§
impl Freeze for EnvelopeSyncFilters
impl RefUnwindSafe for EnvelopeSyncFilters
impl Send for EnvelopeSyncFilters
impl Sync for EnvelopeSyncFilters
impl Unpin for EnvelopeSyncFilters
impl UnwindSafe for EnvelopeSyncFilters
Blanket Implementations§
source§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
source§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
source§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
type Err = <Dst as ApproxFrom<Src, Scheme>>::Err
The error type produced by a failed conversion.
source§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
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, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
source§impl<T> ConvUtil for T
impl<T> ConvUtil for T
source§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
source§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>
Approximate the subject to a given type with a specific scheme.
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> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.