pub struct CreateContactImportOptions { /* private fields */ }Implementations§
Source§impl CreateContactImportOptions
impl CreateContactImportOptions
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new CreateContactImportOptions.
pub fn with_column_map(self, column_map: ContactImportColumnMap) -> Self
pub fn with_on_conflict(self, on_conflict: ContactImportOnConflict) -> Self
Sourcepub fn with_segment(self, id: &str) -> Self
pub fn with_segment(self, id: &str) -> Self
Adds a segment ID to add the contact import to.
Sourcepub fn with_segments(self, ids: &[String]) -> Self
pub fn with_segments(self, ids: &[String]) -> Self
Adds multiple segment IDs to add the contact import to.
Sourcepub fn with_topic(self, topic: ContactImportTopic) -> Self
pub fn with_topic(self, topic: ContactImportTopic) -> Self
Adds a topic subscription for the contact import.
Sourcepub fn with_topics(self, topics: &[ContactImportTopic]) -> Self
pub fn with_topics(self, topics: &[ContactImportTopic]) -> Self
Adds multiple topic subscriptions for the contact import.
Trait Implementations§
Source§impl Clone for CreateContactImportOptions
impl Clone for CreateContactImportOptions
Source§fn clone(&self) -> CreateContactImportOptions
fn clone(&self) -> CreateContactImportOptions
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 CreateContactImportOptions
impl Debug for CreateContactImportOptions
Source§impl Default for CreateContactImportOptions
impl Default for CreateContactImportOptions
Source§fn default() -> CreateContactImportOptions
fn default() -> CreateContactImportOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateContactImportOptions
impl RefUnwindSafe for CreateContactImportOptions
impl Send for CreateContactImportOptions
impl Sync for CreateContactImportOptions
impl Unpin for CreateContactImportOptions
impl UnsafeUnpin for CreateContactImportOptions
impl UnwindSafe for CreateContactImportOptions
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