pub struct Note {
pub id: Option<String>,
pub text: String,
pub contact_ids: Option<Vec<i64>>,
pub company_ids: Option<Vec<String>>,
pub deal_ids: Option<Vec<String>>,
pub author_id: Option<HashMap<String, Value>>,
pub created_at: Option<DateTime<FixedOffset>>,
pub updated_at: Option<DateTime<FixedOffset>>,
}Expand description
Note Details
Fields§
§id: Option<String>Unique note Id
text: StringContent of the note. Supports HTML for rich text formatting. Supported tags include: <p> (paragraph), <b> / <strong> (bold), <i> / <em> (italic), <u> (underline), <br> (line break), <a href="..."> (labelled hyperlink). Example labelled link: <a href="https://example.com">Link text</a>.
contact_ids: Option<Vec<i64>>Contact ids linked to a note
company_ids: Option<Vec<String>>Company ids linked to a note
deal_ids: Option<Vec<String>>Deal ids linked to a note
Account details of user which created the note
created_at: Option<DateTime<FixedOffset>>Note created date/time
updated_at: Option<DateTime<FixedOffset>>Note updated date/time
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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
impl StructuralPartialEq for Note
Auto Trait Implementations§
impl Forget for Note
impl Freeze for Note
impl Move for Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnsafeUnpin for Note
impl UnwindSafe for Note
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