pub enum VersaoLayout {
V4_00 = 4,
}Expand description
Versão do layout XML da NF-e conforme definido pela SEFAZ
A versão do layout determina a estrutura do XML e as regras de validação. Desde 2019, a versão 4.00 é obrigatória em todo o Brasil.
§Histórico de Versões
| Versão | Vigência | Observação |
|---|---|---|
| 1.00 | 2005-2006 | Versão inicial |
| 2.00 | 2006-2010 | Expansão nacional |
| 3.00 | 2010-2017 | Eventos, cancelamento |
| 3.10 | 2017-2019 | Ajustes menores |
| 4.00 | 2019-atual | Versão atual obrigatória |
§Referência SEFAZ
Tag XML: @versao no elemento <infNFe>
Variants§
V4_00 = 4
Layout 4.00 - Versão atual e obrigatória desde 2019
Trait Implementations§
Source§impl Clone for VersaoLayout
impl Clone for VersaoLayout
Source§fn clone(&self) -> VersaoLayout
fn clone(&self) -> VersaoLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VersaoLayout
Source§impl Debug for VersaoLayout
impl Debug for VersaoLayout
Source§impl<'de> Deserialize<'de> for VersaoLayout
impl<'de> Deserialize<'de> for VersaoLayout
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
impl Eq for VersaoLayout
Source§impl PartialEq for VersaoLayout
impl PartialEq for VersaoLayout
Source§fn eq(&self, other: &VersaoLayout) -> bool
fn eq(&self, other: &VersaoLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VersaoLayout
impl Serialize for VersaoLayout
impl StructuralPartialEq for VersaoLayout
Auto Trait Implementations§
impl Freeze for VersaoLayout
impl RefUnwindSafe for VersaoLayout
impl Send for VersaoLayout
impl Sync for VersaoLayout
impl Unpin for VersaoLayout
impl UnsafeUnpin for VersaoLayout
impl UnwindSafe for VersaoLayout
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