pub struct NfeRecord {Show 13 fields
pub id: String,
pub chave_acesso: String,
pub numero: i32,
pub serie: i16,
pub data_emissao: DateTime<Utc>,
pub emit_cnpj: String,
pub emit_razao_social: String,
pub dest_cnpj: Option<String>,
pub dest_razao_social: Option<String>,
pub valor_total: f64,
pub xml: String,
pub json_data: String,
pub created_at: DateTime<Utc>,
}Expand description
NF-e armazenada no banco de dados
Fields§
§id: String§chave_acesso: String§numero: i32§serie: i16§data_emissao: DateTime<Utc>§emit_cnpj: String§dest_cnpj: Option<String>§valor_total: f64§xml: String§json_data: String§created_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NfeRecord
impl<'de> Deserialize<'de> for NfeRecord
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
Auto Trait Implementations§
impl Freeze for NfeRecord
impl RefUnwindSafe for NfeRecord
impl Send for NfeRecord
impl Sync for NfeRecord
impl Unpin for NfeRecord
impl UnsafeUnpin for NfeRecord
impl UnwindSafe for NfeRecord
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<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