#[repr(u8)]pub enum TipoAmbiente {
Producao = 1,
Homologacao = 2,
}Expand description
Tipo do ambiente de transmissão (tag <tpAmb>)
Define se a NF-e está sendo emitida em ambiente de produção (com validade fiscal) ou homologação (para testes).
§Importante
- Em homologação, a NF-e NÃO tem validade fiscal
- O campo
<xNome>do destinatário é substituído por: “NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL”
Variants§
Producao = 1
1 = Produção - NF-e com validade fiscal real
Homologacao = 2
2 = Homologação - Ambiente de testes, sem valor fiscal
Trait Implementations§
Source§impl Clone for TipoAmbiente
impl Clone for TipoAmbiente
Source§fn clone(&self) -> TipoAmbiente
fn clone(&self) -> TipoAmbiente
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 TipoAmbiente
impl Debug for TipoAmbiente
Source§impl<'de> Deserialize<'de> for TipoAmbiente
impl<'de> Deserialize<'de> for TipoAmbiente
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 PartialEq for TipoAmbiente
impl PartialEq for TipoAmbiente
Source§impl Serialize for TipoAmbiente
impl Serialize for TipoAmbiente
impl Copy for TipoAmbiente
impl Eq for TipoAmbiente
impl StructuralPartialEq for TipoAmbiente
Auto Trait Implementations§
impl Freeze for TipoAmbiente
impl RefUnwindSafe for TipoAmbiente
impl Send for TipoAmbiente
impl Sync for TipoAmbiente
impl Unpin for TipoAmbiente
impl UnsafeUnpin for TipoAmbiente
impl UnwindSafe for TipoAmbiente
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