pub struct QueryCriteria {
pub minimum_valid_until_ts: Option<MilliSecondsSinceUnixEpoch>,
}
Expand description
The query criteria.
Fields§
§minimum_valid_until_ts: Option<MilliSecondsSinceUnixEpoch>
A millisecond POSIX timestamp in milliseconds indicating when the returned certificates will need to be valid until to be useful to the requesting server.
If not supplied, the current time as determined by the notary server is used.
Implementations§
source§impl QueryCriteria
impl QueryCriteria
Trait Implementations§
source§impl Clone for QueryCriteria
impl Clone for QueryCriteria
source§fn clone(&self) -> QueryCriteria
fn clone(&self) -> QueryCriteria
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 QueryCriteria
impl Debug for QueryCriteria
source§impl Default for QueryCriteria
impl Default for QueryCriteria
source§fn default() -> QueryCriteria
fn default() -> QueryCriteria
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for QueryCriteria
impl<'de> Deserialize<'de> for QueryCriteria
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 QueryCriteria
impl RefUnwindSafe for QueryCriteria
impl Send for QueryCriteria
impl Sync for QueryCriteria
impl Unpin for QueryCriteria
impl UnwindSafe for QueryCriteria
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)