pub struct CleanupReport {
pub success: bool,
pub removed: usize,
pub collections: Vec<String>,
pub message: Option<String>,
}Expand description
Report returned by cleanup_empty_collections (DELETE /collections/cleanup).
The server shape is inferred; the handler returns a free-form JSON
Value so we use serde_json::Value fields with defaults.
Fields§
§success: boolWhether the cleanup succeeded.
removed: usizeNumber of collections removed.
collections: Vec<String>Names of the removed collections.
message: Option<String>Any message from the server.
Trait Implementations§
Source§impl Clone for CleanupReport
impl Clone for CleanupReport
Source§fn clone(&self) -> CleanupReport
fn clone(&self) -> CleanupReport
Returns a duplicate 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 CleanupReport
impl Debug for CleanupReport
Source§impl<'de> Deserialize<'de> for CleanupReport
impl<'de> Deserialize<'de> for CleanupReport
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
Auto Trait Implementations§
impl Freeze for CleanupReport
impl RefUnwindSafe for CleanupReport
impl Send for CleanupReport
impl Sync for CleanupReport
impl Unpin for CleanupReport
impl UnsafeUnpin for CleanupReport
impl UnwindSafe for CleanupReport
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request