pub struct ContactImportColumnMap { /* private fields */ }Implementations§
Source§impl ContactImportColumnMap
impl ContactImportColumnMap
pub fn new() -> Self
pub fn with_email(self, email: &str) -> Self
pub fn with_first_name(self, first_name: &str) -> Self
pub fn with_last_name(self, last_name: &str) -> Self
pub fn with_unsubscribed(self, unsubscribed: &str) -> Self
Sourcepub fn with_property(
self,
key: &str,
value: ContactImportPropertyMapping,
) -> Self
pub fn with_property( self, key: &str, value: ContactImportPropertyMapping, ) -> Self
Adds a custom property.
Sourcepub fn with_properties(
self,
properties: HashMap<String, ContactImportPropertyMapping>,
) -> Self
pub fn with_properties( self, properties: HashMap<String, ContactImportPropertyMapping>, ) -> Self
Adds custom properties.
Trait Implementations§
Source§impl Clone for ContactImportColumnMap
impl Clone for ContactImportColumnMap
Source§fn clone(&self) -> ContactImportColumnMap
fn clone(&self) -> ContactImportColumnMap
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 ContactImportColumnMap
impl Debug for ContactImportColumnMap
Source§impl Default for ContactImportColumnMap
impl Default for ContactImportColumnMap
Source§fn default() -> ContactImportColumnMap
fn default() -> ContactImportColumnMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContactImportColumnMap
impl RefUnwindSafe for ContactImportColumnMap
impl Send for ContactImportColumnMap
impl Sync for ContactImportColumnMap
impl Unpin for ContactImportColumnMap
impl UnsafeUnpin for ContactImportColumnMap
impl UnwindSafe for ContactImportColumnMap
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