pub struct PruneDecisionsResponse {
pub project: String,
pub older_than: DateTime<Utc>,
pub dry_run: bool,
pub matched: u64,
pub deleted: u64,
pub decision_ids: Vec<String>,
}Expand description
Response for a decision prune operation.
Fields§
§project: StringProject identifier.
older_than: DateTime<Utc>Records older than this timestamp were matched.
dry_run: boolWhether the operation was a dry run.
matched: u64Number of records matched by the retention cutoff.
deleted: u64Number of records deleted. Always zero for dry runs.
decision_ids: Vec<String>Decision record ids matched by the retention cutoff.
Trait Implementations§
Source§impl Clone for PruneDecisionsResponse
impl Clone for PruneDecisionsResponse
Source§fn clone(&self) -> PruneDecisionsResponse
fn clone(&self) -> PruneDecisionsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PruneDecisionsResponse
impl Debug for PruneDecisionsResponse
Source§impl<'de> Deserialize<'de> for PruneDecisionsResponse
impl<'de> Deserialize<'de> for PruneDecisionsResponse
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
Source§impl JsonSchema for PruneDecisionsResponse
impl JsonSchema for PruneDecisionsResponse
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PruneDecisionsResponse
impl PartialEq for PruneDecisionsResponse
Source§fn eq(&self, other: &PruneDecisionsResponse) -> bool
fn eq(&self, other: &PruneDecisionsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PruneDecisionsResponse
impl Serialize for PruneDecisionsResponse
impl StructuralPartialEq for PruneDecisionsResponse
Auto Trait Implementations§
impl Freeze for PruneDecisionsResponse
impl RefUnwindSafe for PruneDecisionsResponse
impl Send for PruneDecisionsResponse
impl Sync for PruneDecisionsResponse
impl Unpin for PruneDecisionsResponse
impl UnsafeUnpin for PruneDecisionsResponse
impl UnwindSafe for PruneDecisionsResponse
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