#[non_exhaustive]pub struct UserEventInlineSource {
pub user_events: Vec<UserEvent>,
/* private fields */
}Expand description
The inline source for the input config for ImportUserEvents 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.user_events: Vec<UserEvent>Required. A list of user events to import. Recommended max of 10k items.
Implementations§
Source§impl UserEventInlineSource
impl UserEventInlineSource
Sourcepub fn set_user_events<T, V>(self, v: T) -> Self
pub fn set_user_events<T, V>(self, v: T) -> Self
Sets the value of user_events.
§Example
ⓘ
use google_cloud_retail_v2::model::UserEvent;
let x = UserEventInlineSource::new()
.set_user_events([
UserEvent::default()/* use setters */,
UserEvent::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for UserEventInlineSource
impl Clone for UserEventInlineSource
Source§fn clone(&self) -> UserEventInlineSource
fn clone(&self) -> UserEventInlineSource
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 UserEventInlineSource
impl Debug for UserEventInlineSource
Source§impl Default for UserEventInlineSource
impl Default for UserEventInlineSource
Source§fn default() -> UserEventInlineSource
fn default() -> UserEventInlineSource
Returns the “default value” for a type. Read more
Source§impl Message for UserEventInlineSource
impl Message for UserEventInlineSource
Source§impl PartialEq for UserEventInlineSource
impl PartialEq for UserEventInlineSource
impl StructuralPartialEq for UserEventInlineSource
Auto Trait Implementations§
impl Freeze for UserEventInlineSource
impl RefUnwindSafe for UserEventInlineSource
impl Send for UserEventInlineSource
impl Sync for UserEventInlineSource
impl Unpin for UserEventInlineSource
impl UnsafeUnpin for UserEventInlineSource
impl UnwindSafe for UserEventInlineSource
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