pub enum TipoDocumento {
Nfe,
Nfce,
Nfse,
Cte,
Mdfe,
}Expand description
Tipo de documento fiscal
Variants§
Trait Implementations§
Source§impl Clone for TipoDocumento
impl Clone for TipoDocumento
Source§fn clone(&self) -> TipoDocumento
fn clone(&self) -> TipoDocumento
Returns a duplicate 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 TipoDocumento
impl Debug for TipoDocumento
Source§impl<'de> Deserialize<'de> for TipoDocumento
impl<'de> Deserialize<'de> for TipoDocumento
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 EnumType for TipoDocumento
impl EnumType for TipoDocumento
Source§fn items() -> &'static [EnumItem<TipoDocumento>]
fn items() -> &'static [EnumItem<TipoDocumento>]
Get a list of possible variants of the enum and their values.
Source§impl From<TipoDocumento> for Value
impl From<TipoDocumento> for Value
Source§fn from(value: TipoDocumento) -> Value
fn from(value: TipoDocumento) -> Value
Converts to this type from the input type.
Source§impl InputType for TipoDocumento
impl InputType for TipoDocumento
Source§type RawValueType = TipoDocumento
type RawValueType = TipoDocumento
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 TipoDocumento
impl OutputType for TipoDocumento
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 PartialEq for TipoDocumento
impl PartialEq for TipoDocumento
Source§impl Serialize for TipoDocumento
impl Serialize for TipoDocumento
impl Copy for TipoDocumento
impl Eq for TipoDocumento
impl StructuralPartialEq for TipoDocumento
Auto Trait Implementations§
impl Freeze for TipoDocumento
impl RefUnwindSafe for TipoDocumento
impl Send for TipoDocumento
impl Sync for TipoDocumento
impl Unpin for TipoDocumento
impl UnsafeUnpin for TipoDocumento
impl UnwindSafe for TipoDocumento
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more