pub struct Contact<'a> {
pub email: &'a str,
pub name: Option<&'a str>,
}
Expand description
Represents a Contact Option for a CONTACT
or a MULTI_CONTACT
column in
a smartsheet.
Fields§
§email: &'a str
A parsable email address.
name: Option<&'a str>
Can be a user’s name, display name, or free text, such as a job class or TBD.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Contact<'a>
impl<'a> RefUnwindSafe for Contact<'a>
impl<'a> Send for Contact<'a>
impl<'a> Sync for Contact<'a>
impl<'a> Unpin for Contact<'a>
impl<'a> UnwindSafe for Contact<'a>
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