pub struct ContactPropertyChanges { /* private fields */ }Expand description
List of changes to apply to a ContactProperty.
Implementations§
Source§impl ContactPropertyChanges
impl ContactPropertyChanges
Sourcepub fn with_fallback(self, fallback: impl Into<Value>) -> Self
pub fn with_fallback(self, fallback: impl Into<Value>) -> Self
The default value to use when the property is not set for a contact. Must match the type of the property.
Trait Implementations§
Source§impl Clone for ContactPropertyChanges
impl Clone for ContactPropertyChanges
Source§fn clone(&self) -> ContactPropertyChanges
fn clone(&self) -> ContactPropertyChanges
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 ContactPropertyChanges
impl Debug for ContactPropertyChanges
Source§impl Default for ContactPropertyChanges
impl Default for ContactPropertyChanges
Source§fn default() -> ContactPropertyChanges
fn default() -> ContactPropertyChanges
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContactPropertyChanges
impl RefUnwindSafe for ContactPropertyChanges
impl Send for ContactPropertyChanges
impl Sync for ContactPropertyChanges
impl Unpin for ContactPropertyChanges
impl UnsafeUnpin for ContactPropertyChanges
impl UnwindSafe for ContactPropertyChanges
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