pub struct ContactOwned {
pub email: String,
pub name: Option<String>,
}
Expand description
Represents a Contact Option for a cell for a CONTACT
or a MULTI_CONTACT
column in a smartsheet.
Mainly used for deserialization purposes with the Cell::contacts
method,
for example to more easily retrieve the contact details (such as a list of
emails) from a CONTACT
or MULTI_CONTACT
cell.
Fields§
§email: String
A parsable email address.
name: Option<String>
Can be a user’s name, display name, or free text, such as a job class or TBD.
Trait Implementations§
Source§impl Debug for ContactOwned
impl Debug for ContactOwned
Source§impl<'de> Deserialize<'de> for ContactOwned
impl<'de> Deserialize<'de> for ContactOwned
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContactOwned
impl RefUnwindSafe for ContactOwned
impl Send for ContactOwned
impl Sync for ContactOwned
impl Unpin for ContactOwned
impl UnwindSafe for ContactOwned
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