#[non_exhaustive]pub struct PurgeUserEventsResponse {
pub purge_count: i64,
/* private fields */
}Available on crate feature
user-event-service only.Expand description
Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
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 total count of events purged as a result of the operation.
Implementations§
Source§impl PurgeUserEventsResponse
impl PurgeUserEventsResponse
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 = PurgeUserEventsResponse::new().set_purge_count(42);Trait Implementations§
Source§impl Clone for PurgeUserEventsResponse
impl Clone for PurgeUserEventsResponse
Source§fn clone(&self) -> PurgeUserEventsResponse
fn clone(&self) -> PurgeUserEventsResponse
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 PurgeUserEventsResponse
impl Debug for PurgeUserEventsResponse
Source§impl Default for PurgeUserEventsResponse
impl Default for PurgeUserEventsResponse
Source§fn default() -> PurgeUserEventsResponse
fn default() -> PurgeUserEventsResponse
Returns the “default value” for a type. Read more
Source§impl Message for PurgeUserEventsResponse
impl Message for PurgeUserEventsResponse
Source§impl PartialEq for PurgeUserEventsResponse
impl PartialEq for PurgeUserEventsResponse
impl StructuralPartialEq for PurgeUserEventsResponse
Auto Trait Implementations§
impl Freeze for PurgeUserEventsResponse
impl RefUnwindSafe for PurgeUserEventsResponse
impl Send for PurgeUserEventsResponse
impl Sync for PurgeUserEventsResponse
impl Unpin for PurgeUserEventsResponse
impl UnwindSafe for PurgeUserEventsResponse
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