pub struct ContactInfoUpdate {
pub contact_name: Option<String>,
pub phone_number: Option<String>,
pub email_address: Option<String>,
}Expand description
Update struct corresponding to ContactInfo
Fields§
§contact_name: Option<String>§phone_number: Option<String>§email_address: Option<String>Implementations§
Source§impl ContactInfoUpdate
impl ContactInfoUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_contact_name(self, v: String) -> Self
pub fn with_phone_number(self, v: String) -> Self
pub fn with_email_address(self, v: String) -> Self
Trait Implementations§
Source§impl Debug for ContactInfoUpdate
impl Debug for ContactInfoUpdate
Source§impl Default for ContactInfoUpdate
impl Default for ContactInfoUpdate
Source§fn default() -> ContactInfoUpdate
fn default() -> ContactInfoUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ContactInfoUpdate
impl RefUnwindSafe for ContactInfoUpdate
impl Send for ContactInfoUpdate
impl Sync for ContactInfoUpdate
impl Unpin for ContactInfoUpdate
impl UnsafeUnpin for ContactInfoUpdate
impl UnwindSafe for ContactInfoUpdate
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