pub struct NoteRequest {
pub content: Option<String>,
pub lead_id: Option<Uuid>,
pub deal_id: Option<i32>,
pub person_id: Option<i32>,
pub org_id: Option<i32>,
pub user_id: Option<i32>,
pub add_time: Option<String>,
pub pinned_to_lead_flag: Option<PinnedToLeadFlag>,
pub pinned_to_deal_flag: Option<PinnedToDealFlag>,
pub pinned_to_organization_flag: Option<PinnedToOrganizationFlag>,
pub pinned_to_person_flag: Option<PinnedToPersonFlag>,
}
Fields§
§content: Option<String>
The content of the note in HTML format. Subject to sanitization on the back-end.
lead_id: Option<Uuid>
The ID of the lead the note will be attached to
deal_id: Option<i32>
The ID of the deal the note will be attached to
person_id: Option<i32>
The ID of the person the note will be attached to
org_id: Option<i32>
The ID of the organization the note will be attached to
user_id: Option<i32>
The ID of the user who will be marked as the author of the note. Only an admin can change the author.
add_time: Option<String>
The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
pinned_to_lead_flag: Option<PinnedToLeadFlag>
§pinned_to_deal_flag: Option<PinnedToDealFlag>
§pinned_to_organization_flag: Option<PinnedToOrganizationFlag>
§pinned_to_person_flag: Option<PinnedToPersonFlag>
Implementations§
Source§impl NoteRequest
impl NoteRequest
pub fn new() -> NoteRequest
Trait Implementations§
Source§impl Clone for NoteRequest
impl Clone for NoteRequest
Source§fn clone(&self) -> NoteRequest
fn clone(&self) -> NoteRequest
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 NoteRequest
impl Debug for NoteRequest
Source§impl<'de> Deserialize<'de> for NoteRequest
impl<'de> Deserialize<'de> for NoteRequest
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 NoteRequest
impl PartialEq for NoteRequest
Source§impl Serialize for NoteRequest
impl Serialize for NoteRequest
impl StructuralPartialEq for NoteRequest
Auto Trait Implementations§
impl Freeze for NoteRequest
impl RefUnwindSafe for NoteRequest
impl Send for NoteRequest
impl Sync for NoteRequest
impl Unpin for NoteRequest
impl UnwindSafe for NoteRequest
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