pub struct InfProt {
pub ch_nfe: String,
pub dh_recbto: String,
pub n_prot: Option<String>,
pub dig_val: Option<String>,
pub c_stat: String,
pub x_motivo: String,
}Fields§
§ch_nfe: String§dh_recbto: String§n_prot: Option<String>§dig_val: Option<String>§c_stat: StringStatus da nota (ex.: 100 = autorizado o uso da NF-e, 101 = cancelada).
x_motivo: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for InfProt
impl<'de> Deserialize<'de> for InfProt
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 InfProt
impl RefUnwindSafe for InfProt
impl Send for InfProt
impl Sync for InfProt
impl Unpin for InfProt
impl UnsafeUnpin for InfProt
impl UnwindSafe for InfProt
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