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