pub struct PurgeResponse {
pub success: bool,
pub purged: u64,
}
Expand description
The response generated by trying to purge a stream.
Fields§
§success: bool
Whether the purge request was successful.
purged: u64
The number of purged messages in a stream.
Trait Implementations§
Source§impl Clone for PurgeResponse
impl Clone for PurgeResponse
Source§fn clone(&self) -> PurgeResponse
fn clone(&self) -> PurgeResponse
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 PurgeResponse
impl Debug for PurgeResponse
Source§impl<'de> Deserialize<'de> for PurgeResponse
impl<'de> Deserialize<'de> for PurgeResponse
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 Copy for PurgeResponse
Auto Trait Implementations§
impl Freeze for PurgeResponse
impl RefUnwindSafe for PurgeResponse
impl Send for PurgeResponse
impl Sync for PurgeResponse
impl Unpin for PurgeResponse
impl UnwindSafe for PurgeResponse
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