pub struct RemoveRecordsQuery {
pub all: bool,
pub older_than: Option<String>,
}Expand description
DELETE /v1/records query parameters: exactly one of them.
Fields§
§all: boolRemove every record.
older_than: Option<String>Remove the records older than this, such as 2d or 12h.
Trait Implementations§
Source§impl Clone for RemoveRecordsQuery
impl Clone for RemoveRecordsQuery
Source§impl Debug for RemoveRecordsQuery
impl Debug for RemoveRecordsQuery
Source§impl Default for RemoveRecordsQuery
impl Default for RemoveRecordsQuery
Source§impl<'de> Deserialize<'de> for RemoveRecordsQuery
impl<'de> Deserialize<'de> for RemoveRecordsQuery
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 RemoveRecordsQuery
Source§impl PartialEq for RemoveRecordsQuery
impl PartialEq for RemoveRecordsQuery
Source§impl Serialize for RemoveRecordsQuery
impl Serialize for RemoveRecordsQuery
impl StructuralPartialEq for RemoveRecordsQuery
Auto Trait Implementations§
impl Freeze for RemoveRecordsQuery
impl RefUnwindSafe for RemoveRecordsQuery
impl Send for RemoveRecordsQuery
impl Sync for RemoveRecordsQuery
impl Unpin for RemoveRecordsQuery
impl UnsafeUnpin for RemoveRecordsQuery
impl UnwindSafe for RemoveRecordsQuery
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.