pub struct ProjectSuggestionInput {
pub title: String,
pub initial_tasks: Option<Vec<ProjectTaskSuggestionInput>>,
pub description: Option<String>,
pub generate_tasks_number: Option<u8>,
}Fields§
§title: String§initial_tasks: Option<Vec<ProjectTaskSuggestionInput>>§description: Option<String>§generate_tasks_number: Option<u8>Trait Implementations§
source§impl Default for ProjectSuggestionInput
impl Default for ProjectSuggestionInput
source§fn default() -> ProjectSuggestionInput
fn default() -> ProjectSuggestionInput
Returns the “default value” for a type. Read more
source§impl InputType for ProjectSuggestionInput
impl InputType for ProjectSuggestionInput
§type RawValueType = ProjectSuggestionInput
type RawValueType = ProjectSuggestionInput
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 ProjectSuggestionInput
impl ParseFromJSON for ProjectSuggestionInput
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 ProjectSuggestionInput
impl ParseFromXML for ProjectSuggestionInput
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 ProjectSuggestionInput
impl ParseFromYAML for ProjectSuggestionInput
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 ProjectSuggestionInput
impl Serialize for ProjectSuggestionInput
source§impl ToJSON for ProjectSuggestionInput
impl ToJSON for ProjectSuggestionInput
source§impl ToXML for ProjectSuggestionInput
impl ToXML for ProjectSuggestionInput
source§impl ToYAML for ProjectSuggestionInput
impl ToYAML for ProjectSuggestionInput
source§impl Type for ProjectSuggestionInput
impl Type for ProjectSuggestionInput
source§const IS_REQUIRED: bool = true
const IS_REQUIRED: bool = true
If it is
true, it means that this type is required.§type RawValueType = ProjectSuggestionInput
type RawValueType = ProjectSuggestionInput
The raw type used for validator. Read more
§type RawElementValueType = ProjectSuggestionInput
type RawElementValueType = ProjectSuggestionInput
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 ProjectSuggestionInput
Auto Trait Implementations§
impl Freeze for ProjectSuggestionInput
impl RefUnwindSafe for ProjectSuggestionInput
impl Send for ProjectSuggestionInput
impl Sync for ProjectSuggestionInput
impl Unpin for ProjectSuggestionInput
impl UnwindSafe for ProjectSuggestionInput
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