pub struct BriefContact {
pub id: Option<i32>,
pub url: Option<String>,
pub display: Option<String>,
pub name: String,
pub description: Option<String>,
}Expand description
BriefContact : Adds support for custom fields and tags.
Fields§
§id: Option<i32>§url: Option<String>§display: Option<String>§name: String§description: Option<String>Implementations§
Source§impl BriefContact
impl BriefContact
Sourcepub fn new(name: String) -> BriefContact
pub fn new(name: String) -> BriefContact
Adds support for custom fields and tags.
Trait Implementations§
Source§impl Clone for BriefContact
impl Clone for BriefContact
Source§fn clone(&self) -> BriefContact
fn clone(&self) -> BriefContact
Returns a duplicate of the value. Read more
1.0.0 · 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 BriefContact
impl Debug for BriefContact
Source§impl Default for BriefContact
impl Default for BriefContact
Source§fn default() -> BriefContact
fn default() -> BriefContact
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BriefContact
impl<'de> Deserialize<'de> for BriefContact
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
Source§impl PartialEq for BriefContact
impl PartialEq for BriefContact
Source§impl Serialize for BriefContact
impl Serialize for BriefContact
impl StructuralPartialEq for BriefContact
Auto Trait Implementations§
impl Freeze for BriefContact
impl RefUnwindSafe for BriefContact
impl Send for BriefContact
impl Sync for BriefContact
impl Unpin for BriefContact
impl UnwindSafe for BriefContact
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