Struct async_nats::jetstream::stream::PurgeResponse
source · 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
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
)