#[non_exhaustive]pub struct RejoinUserEventsRequest {
pub parent: String,
pub user_event_rejoin_scope: UserEventRejoinScope,
/* private fields */
}Expand description
Request message for RejoinUserEvents method.
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.parent: StringRequired. The parent catalog resource name, such as
projects/1234/locations/global/catalogs/default_catalog.
user_event_rejoin_scope: UserEventRejoinScopeThe type of the user event rejoin to define the scope and range of the user
events to be rejoined with the latest product catalog. Defaults to
USER_EVENT_REJOIN_SCOPE_UNSPECIFIED if this field is not set, or set to
an invalid integer value.
Implementations§
Source§impl RejoinUserEventsRequest
impl RejoinUserEventsRequest
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_user_event_rejoin_scope<T: Into<UserEventRejoinScope>>(
self,
v: T,
) -> Self
pub fn set_user_event_rejoin_scope<T: Into<UserEventRejoinScope>>( self, v: T, ) -> Self
Sets the value of user_event_rejoin_scope.
§Example
ⓘ
use google_cloud_retail_v2::model::rejoin_user_events_request::UserEventRejoinScope;
let x0 = RejoinUserEventsRequest::new().set_user_event_rejoin_scope(UserEventRejoinScope::JoinedEvents);
let x1 = RejoinUserEventsRequest::new().set_user_event_rejoin_scope(UserEventRejoinScope::UnjoinedEvents);Trait Implementations§
Source§impl Clone for RejoinUserEventsRequest
impl Clone for RejoinUserEventsRequest
Source§fn clone(&self) -> RejoinUserEventsRequest
fn clone(&self) -> RejoinUserEventsRequest
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 RejoinUserEventsRequest
impl Debug for RejoinUserEventsRequest
Source§impl Default for RejoinUserEventsRequest
impl Default for RejoinUserEventsRequest
Source§fn default() -> RejoinUserEventsRequest
fn default() -> RejoinUserEventsRequest
Returns the “default value” for a type. Read more
Source§impl Message for RejoinUserEventsRequest
impl Message for RejoinUserEventsRequest
Source§impl PartialEq for RejoinUserEventsRequest
impl PartialEq for RejoinUserEventsRequest
impl StructuralPartialEq for RejoinUserEventsRequest
Auto Trait Implementations§
impl Freeze for RejoinUserEventsRequest
impl RefUnwindSafe for RejoinUserEventsRequest
impl Send for RejoinUserEventsRequest
impl Sync for RejoinUserEventsRequest
impl Unpin for RejoinUserEventsRequest
impl UnsafeUnpin for RejoinUserEventsRequest
impl UnwindSafe for RejoinUserEventsRequest
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