pub struct EricResponse {
pub payload: EricApiPayload,
}Expand description
A structure which summarizes the response from the Eric instance.
Usually returned payload can be ignored when the API call was successful and looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<EricBearbeiteVorgang xmlns="http://www.elster.de/EricXML/1.1/EricBearbeiteVorgang">
<Erfolg/>
</EricBearbeiteVorgang>Fields§
§payload: EricApiPayloadXML payload returned by ERiC.
Implementations§
Source§impl EricResponse
impl EricResponse
pub fn new(payload: EricApiPayload) -> Self
pub fn validation_response(&self) -> &str
pub fn server_response(&self) -> &str
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EricResponse
impl RefUnwindSafe for EricResponse
impl Send for EricResponse
impl Sync for EricResponse
impl Unpin for EricResponse
impl UnsafeUnpin for EricResponse
impl UnwindSafe for EricResponse
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