#[non_exhaustive]pub struct PurgeExecutionsResponse {
pub purge_count: i64,
pub purge_sample: Vec<String>,
/* private fields */
}Available on crate feature
metadata-service only.Expand description
Response message for MetadataService.PurgeExecutions.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.purge_count: i64The number of Executions that this request deleted (or, if force is
false, the number of Executions that will be deleted). This can be an
estimate.
purge_sample: Vec<String>A sample of the Execution names that will be deleted.
Only populated if force is set to false. The maximum number of samples is
100 (it is possible to return fewer).
Implementations§
Source§impl PurgeExecutionsResponse
impl PurgeExecutionsResponse
pub fn new() -> Self
Sourcepub fn set_purge_count<T: Into<i64>>(self, v: T) -> Self
pub fn set_purge_count<T: Into<i64>>(self, v: T) -> Self
Sets the value of purge_count.
§Example
ⓘ
let x = PurgeExecutionsResponse::new().set_purge_count(42);Sourcepub fn set_purge_sample<T, V>(self, v: T) -> Self
pub fn set_purge_sample<T, V>(self, v: T) -> Self
Sets the value of purge_sample.
§Example
ⓘ
let x = PurgeExecutionsResponse::new().set_purge_sample(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for PurgeExecutionsResponse
impl Clone for PurgeExecutionsResponse
Source§fn clone(&self) -> PurgeExecutionsResponse
fn clone(&self) -> PurgeExecutionsResponse
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 PurgeExecutionsResponse
impl Debug for PurgeExecutionsResponse
Source§impl Default for PurgeExecutionsResponse
impl Default for PurgeExecutionsResponse
Source§fn default() -> PurgeExecutionsResponse
fn default() -> PurgeExecutionsResponse
Returns the “default value” for a type. Read more
Source§impl Message for PurgeExecutionsResponse
impl Message for PurgeExecutionsResponse
Source§impl PartialEq for PurgeExecutionsResponse
impl PartialEq for PurgeExecutionsResponse
impl StructuralPartialEq for PurgeExecutionsResponse
Auto Trait Implementations§
impl Freeze for PurgeExecutionsResponse
impl RefUnwindSafe for PurgeExecutionsResponse
impl Send for PurgeExecutionsResponse
impl Sync for PurgeExecutionsResponse
impl Unpin for PurgeExecutionsResponse
impl UnwindSafe for PurgeExecutionsResponse
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