Struct plexo_sdk::resources::tasks::operations::CreateTaskInput
source · pub struct CreateTaskInput {Show 13 fields
pub title: String,
pub owner_id: Uuid,
pub status: Option<TaskStatus>,
pub priority: Option<TaskPriority>,
pub description: Option<String>,
pub due_date: Option<DateTime<Utc>>,
pub project_id: Option<Uuid>,
pub lead_id: Option<Uuid>,
pub parent_id: Option<Uuid>,
pub labels: Option<Vec<Uuid>>,
pub assignees: Option<Vec<Uuid>>,
pub subtasks: Option<Vec<CreateTaskInput>>,
pub assets: Option<Vec<Uuid>>,
}Fields§
§title: String§owner_id: Uuid§status: Option<TaskStatus>§priority: Option<TaskPriority>§description: Option<String>§due_date: Option<DateTime<Utc>>§project_id: Option<Uuid>§lead_id: Option<Uuid>§parent_id: Option<Uuid>§labels: Option<Vec<Uuid>>§assignees: Option<Vec<Uuid>>§subtasks: Option<Vec<CreateTaskInput>>§assets: Option<Vec<Uuid>>Trait Implementations§
source§impl Clone for CreateTaskInput
impl Clone for CreateTaskInput
source§fn clone(&self) -> CreateTaskInput
fn clone(&self) -> CreateTaskInput
Returns a copy 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 Default for CreateTaskInput
impl Default for CreateTaskInput
source§fn default() -> CreateTaskInput
fn default() -> CreateTaskInput
Returns the “default value” for a type. Read more
source§impl InputType for CreateTaskInput
impl InputType for CreateTaskInput
§type RawValueType = CreateTaskInput
type RawValueType = CreateTaskInput
The raw type used for validator. Read more
source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
source§fn parse(value: Option<Value>) -> InputValueResult<Self>
fn parse(value: Option<Value>) -> InputValueResult<Self>
Parse from
Value. None represents undefined.source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl ParseFromJSON for CreateTaskInput
impl ParseFromJSON for CreateTaskInput
source§fn parse_from_json(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_json(value: Option<Value>) -> Result<Self, ParseError<Self>>
Parse from
serde_json::Value.source§fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from JSON string.
source§impl ParseFromXML for CreateTaskInput
impl ParseFromXML for CreateTaskInput
source§fn parse_from_xml(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_xml(value: Option<Value>) -> Result<Self, ParseError<Self>>
Parse from
serde_json::Value.source§fn parse_from_xml_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_xml_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from XML string.
source§impl ParseFromYAML for CreateTaskInput
impl ParseFromYAML for CreateTaskInput
source§fn parse_from_yaml(value: Option<Value>) -> Result<Self, ParseError<Self>>
fn parse_from_yaml(value: Option<Value>) -> Result<Self, ParseError<Self>>
Parse from
serde_json::Value.source§fn parse_from_yaml_string(s: &str) -> Result<Self, ParseError<Self>>
fn parse_from_yaml_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from YAML string.
source§impl Serialize for CreateTaskInput
impl Serialize for CreateTaskInput
source§impl ToJSON for CreateTaskInput
impl ToJSON for CreateTaskInput
source§impl ToXML for CreateTaskInput
impl ToXML for CreateTaskInput
source§impl ToYAML for CreateTaskInput
impl ToYAML for CreateTaskInput
source§impl Type for CreateTaskInput
impl Type for CreateTaskInput
source§const IS_REQUIRED: bool = true
const IS_REQUIRED: bool = true
If it is
true, it means that this type is required.§type RawValueType = CreateTaskInput
type RawValueType = CreateTaskInput
The raw type used for validator. Read more
§type RawElementValueType = CreateTaskInput
type RawElementValueType = CreateTaskInput
The raw element type used for validator.
source§fn schema_ref() -> MetaSchemaRef
fn schema_ref() -> MetaSchemaRef
Get schema reference of this type.
source§fn as_raw_value(&self) -> Option<&Self::RawValueType>
fn as_raw_value(&self) -> Option<&Self::RawValueType>
Returns a reference to the raw value.
source§fn raw_element_iter<'a>(
&'a self
) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
fn raw_element_iter<'a>( &'a self ) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>
Returns an iterator for traversing the elements.
impl InputObjectType for CreateTaskInput
Auto Trait Implementations§
impl Freeze for CreateTaskInput
impl RefUnwindSafe for CreateTaskInput
impl Send for CreateTaskInput
impl Sync for CreateTaskInput
impl Unpin for CreateTaskInput
impl UnwindSafe for CreateTaskInput
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