#[non_exhaustive]pub struct ContactNote {
pub contact_id: i64,
pub note: String,
pub note_html: String,
}Expand description
A contact’s private note. Empty strings when there is no note.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.contact_id: i64§note: String§note_html: StringThe note as editor HTML, the same markup the web hands Trix.
Trait Implementations§
Source§impl Clone for ContactNote
impl Clone for ContactNote
Source§fn clone(&self) -> ContactNote
fn clone(&self) -> ContactNote
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 ContactNote
impl Debug for ContactNote
Source§impl Default for ContactNote
impl Default for ContactNote
Source§fn default() -> ContactNote
fn default() -> ContactNote
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContactNote
impl<'de> Deserialize<'de> for ContactNote
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 ContactNote
impl PartialEq for ContactNote
Source§impl Serialize for ContactNote
impl Serialize for ContactNote
impl StructuralPartialEq for ContactNote
Auto Trait Implementations§
impl Freeze for ContactNote
impl RefUnwindSafe for ContactNote
impl Send for ContactNote
impl Sync for ContactNote
impl Unpin for ContactNote
impl UnsafeUnpin for ContactNote
impl UnwindSafe for ContactNote
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