pub struct CreateTaskParams {
pub title: String,
pub body: Option<String>,
pub due_date: String,
pub completed: bool,
pub assigned_to: Option<String>,
}Available on crate feature
contacts only.Expand description
CreateTaskParams from the GoHighLevel OpenAPI spec.
Fields§
§title: StringTitle of the task Required by the API.
body: Option<String>Body or description of the task
due_date: StringDue date of the task (ISO 8601 format) Required by the API.
completed: boolWhether the task is completed Required by the API.
assigned_to: Option<String>User Id to whom the task is assigned
Trait Implementations§
Source§impl Clone for CreateTaskParams
impl Clone for CreateTaskParams
Source§fn clone(&self) -> CreateTaskParams
fn clone(&self) -> CreateTaskParams
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 CreateTaskParams
impl Debug for CreateTaskParams
Source§impl Default for CreateTaskParams
impl Default for CreateTaskParams
Source§fn default() -> CreateTaskParams
fn default() -> CreateTaskParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTaskParams
impl<'de> Deserialize<'de> for CreateTaskParams
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 CreateTaskParams
impl RefUnwindSafe for CreateTaskParams
impl Send for CreateTaskParams
impl Sync for CreateTaskParams
impl Unpin for CreateTaskParams
impl UnsafeUnpin for CreateTaskParams
impl UnwindSafe for CreateTaskParams
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