pub struct PurgeRequest {
pub sequence: Option<u64>,
pub filter: Option<String>,
pub keep: Option<u64>,
}
Expand description
The payload used to generate a purge request.
Fields§
§sequence: Option<u64>
Purge up to but not including sequence.
filter: Option<String>
Subject to match against messages for the purge command.
keep: Option<u64>
Number of messages to keep.
Trait Implementations§
Source§impl Clone for PurgeRequest
impl Clone for PurgeRequest
Source§fn clone(&self) -> PurgeRequest
fn clone(&self) -> PurgeRequest
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 PurgeRequest
impl Debug for PurgeRequest
Source§impl Default for PurgeRequest
impl Default for PurgeRequest
Source§fn default() -> PurgeRequest
fn default() -> PurgeRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PurgeRequest
impl RefUnwindSafe for PurgeRequest
impl Send for PurgeRequest
impl Sync for PurgeRequest
impl Unpin for PurgeRequest
impl UnwindSafe for PurgeRequest
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