pub enum ProjectVisibility {
None,
Private,
Internal,
Public,
}Variants§
Trait Implementations§
source§impl Clone for ProjectVisibility
impl Clone for ProjectVisibility
source§fn clone(&self) -> ProjectVisibility
fn clone(&self) -> ProjectVisibility
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 Debug for ProjectVisibility
impl Debug for ProjectVisibility
source§impl Default for ProjectVisibility
impl Default for ProjectVisibility
source§fn default() -> ProjectVisibility
fn default() -> ProjectVisibility
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProjectVisibility
impl<'de> Deserialize<'de> for ProjectVisibility
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 Display for ProjectVisibility
impl Display for ProjectVisibility
source§impl EnumType for ProjectVisibility
impl EnumType for ProjectVisibility
source§fn items() -> &'static [EnumItem<ProjectVisibility>]
fn items() -> &'static [EnumItem<ProjectVisibility>]
Get a list of possible variants of the enum and their values.
source§impl From<ProjectVisibility> for Value
impl From<ProjectVisibility> for Value
source§fn from(value: ProjectVisibility) -> Value
fn from(value: ProjectVisibility) -> Value
Converts to this type from the input type.
source§impl FromStr for ProjectVisibility
impl FromStr for ProjectVisibility
source§impl InputType for ProjectVisibility
impl InputType for ProjectVisibility
§type RawValueType = ProjectVisibility
type RawValueType = ProjectVisibility
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 OutputType for ProjectVisibility
impl OutputType for ProjectVisibility
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§async fn resolve(
&self,
_: &ContextSelectionSet<'_>,
_field: &Positioned<Field>
) -> ServerResult<Value>
async fn resolve( &self, _: &ContextSelectionSet<'_>, _field: &Positioned<Field> ) -> ServerResult<Value>
Resolve an output value to
async_graphql::Value.source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
source§impl ParseFromJSON for ProjectVisibility
impl ParseFromJSON for ProjectVisibility
source§fn parse_from_json(value: Option<Value>) -> ParseResult<Self>
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>>
fn parse_from_json_string(s: &str) -> Result<Self, ParseError<Self>>
Parse from JSON string.
source§impl ParseFromMultipartField for ProjectVisibility
impl ParseFromMultipartField for ProjectVisibility
source§fn parse_from_multipart<'async_trait>(
field: Option<Field>
) -> Pin<Box<dyn Future<Output = ParseResult<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
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§impl ParseFromParameter for ProjectVisibility
impl ParseFromParameter for ProjectVisibility
source§fn parse_from_parameter(value: &str) -> ParseResult<Self>
fn parse_from_parameter(value: &str) -> ParseResult<Self>
Parse from parameter.
source§fn parse_from_parameters<I, A>(iter: I) -> Result<Self, ParseError<Self>>
fn parse_from_parameters<I, A>(iter: I) -> Result<Self, ParseError<Self>>
Parse from multiple parameters.
source§impl PartialEq for ProjectVisibility
impl PartialEq for ProjectVisibility
source§fn eq(&self, other: &ProjectVisibility) -> bool
fn eq(&self, other: &ProjectVisibility) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ProjectVisibility
impl Serialize for ProjectVisibility
source§impl ToJSON for ProjectVisibility
impl ToJSON for ProjectVisibility
source§impl TryFrom<&str> for ProjectVisibility
impl TryFrom<&str> for ProjectVisibility
source§impl Type for ProjectVisibility
impl Type for ProjectVisibility
source§const IS_REQUIRED: bool = true
const IS_REQUIRED: bool = true
If it is
true, it means that this type is required.§type RawValueType = ProjectVisibility
type RawValueType = ProjectVisibility
The raw type used for validator. Read more
§type RawElementValueType = ProjectVisibility
type RawElementValueType = ProjectVisibility
The raw element type used for validator.
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 schema_ref() -> MetaSchemaRef
fn schema_ref() -> MetaSchemaRef
Get schema reference of this type.
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 Copy for ProjectVisibility
impl Eq for ProjectVisibility
impl StructuralPartialEq for ProjectVisibility
Auto Trait Implementations§
impl Freeze for ProjectVisibility
impl RefUnwindSafe for ProjectVisibility
impl Send for ProjectVisibility
impl Sync for ProjectVisibility
impl Unpin for ProjectVisibility
impl UnwindSafe for ProjectVisibility
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.