pub enum TaskStatus {
    None,
    Draft,
    Backlog,
    ToDo,
    InProgress,
    Done,
    Canceled,
}

Variants§

§

None

§

Draft

§

Backlog

§

ToDo

§

InProgress

§

Done

§

Canceled

Trait Implementations§

source§

impl Clone for TaskStatus

source§

fn clone(&self) -> TaskStatus

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TaskStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for TaskStatus

source§

fn default() -> TaskStatus

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for TaskStatus

source§

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 Display for TaskStatus

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl EnumType for TaskStatus

source§

fn items() -> &'static [EnumItem<TaskStatus>]

Get a list of possible variants of the enum and their values.
source§

impl From<TaskStatus> for Value

source§

fn from(value: TaskStatus) -> Value

Converts to this type from the input type.
source§

impl FromStr for TaskStatus

§

type Err = ParseError

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<TaskStatus, <Self as FromStr>::Err>

Parses a string s to return a value of this type. Read more
source§

impl InputType for TaskStatus

§

type RawValueType = TaskStatus

The raw type used for validator. Read more
source§

fn type_name() -> Cow<'static, str>

Type the name.
source§

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>

Parse from Value. None represents undefined.
source§

fn to_value(&self) -> Value

Convert to a Value for introspection.
source§

fn as_raw_value(&self) -> Option<&Self::RawValueType>

Returns a reference to the raw value.
source§

fn qualified_type_name() -> String

Qualified typename.
source§

impl OutputType for TaskStatus

source§

fn type_name() -> Cow<'static, str>

Type the name.
source§

fn create_type_info(registry: &mut Registry) -> String

Create type information in the registry and return qualified typename.
source§

async fn resolve( &self, _: &ContextSelectionSet<'_>, _field: &Positioned<Field> ) -> ServerResult<Value>

Resolve an output value to async_graphql::Value.
source§

fn qualified_type_name() -> String

Qualified typename.
source§

fn introspection_type_name(&self) -> Cow<'static, str>

Introspection type name Read more
source§

impl ParseFromJSON for TaskStatus

source§

fn parse_from_json(value: Option<Value>) -> ParseResult<Self>

Parse from serde_json::Value.
source§

fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>

Parse from JSON string.
source§

impl ParseFromMultipartField for TaskStatus

source§

fn parse_from_multipart<'async_trait>( field: Option<Field> ) -> Pin<Box<dyn Future<Output = ParseResult<Self>> + Send + 'async_trait>>
where Self: 'async_trait,

Parse from multipart field.
source§

fn parse_from_repeated_field<'async_trait>( self, _field: Field ) -> Pin<Box<dyn Future<Output = Result<Self, ParseError<Self>>> + Send + 'async_trait>>
where Self: Send + 'async_trait,

Parse from repeated multipart field.
source§

impl ParseFromParameter for TaskStatus

source§

fn parse_from_parameter(value: &str) -> ParseResult<Self>

Parse from parameter.
source§

fn parse_from_parameters<I, A>(iter: I) -> Result<Self, ParseError<Self>>
where I: IntoIterator<Item = A>, A: AsRef<str>,

Parse from multiple parameters.
source§

impl PartialEq for TaskStatus

source§

fn eq(&self, other: &TaskStatus) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for TaskStatus

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl ToJSON for TaskStatus

source§

fn to_json(&self) -> Option<Value>

Convert this value to Value.
source§

fn to_json_string(&self) -> String

Convert this value to JSON string.
source§

impl TryFrom<&str> for TaskStatus

§

type Error = ParseError

The type returned in the event of a conversion error.
source§

fn try_from(s: &str) -> Result<TaskStatus, <Self as TryFrom<&str>>::Error>

Performs the conversion.
source§

impl Type for TaskStatus

source§

const IS_REQUIRED: bool = true

If it is true, it means that this type is required.
§

type RawValueType = TaskStatus

The raw type used for validator. Read more
§

type RawElementValueType = TaskStatus

The raw element type used for validator.
source§

fn name() -> Cow<'static, str>

Returns the name of this type
source§

fn as_raw_value(&self) -> Option<&Self::RawValueType>

Returns a reference to the raw value.
source§

fn schema_ref() -> MetaSchemaRef

Get schema reference of this type.
source§

fn register(registry: &mut Registry)

Register this type to types registry.
source§

fn raw_element_iter<'a>( &'a self ) -> Box<dyn Iterator<Item = &'a Self::RawElementValueType> + 'a>

Returns an iterator for traversing the elements.
source§

fn is_empty(&self) -> bool

Returns true if this value is empty. Read more
source§

fn is_none(&self) -> bool

Returns true if this value is none. Read more
source§

impl Copy for TaskStatus

source§

impl Eq for TaskStatus

source§

impl StructuralPartialEq for TaskStatus

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into<'async_trait>( self ) -> Pin<Box<dyn Future<Output = Result<U, <U as TryFrom<T>>::Error>> + 'async_trait>>
where T: 'async_trait,

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,