pub struct PostmapDetails {
pub error_type: ErrorType,
pub file_path: Option<String>,
pub error_message: String,
pub command_args: Option<String>,
}Fields§
§error_type: ErrorType§file_path: Option<String>§error_message: String§command_args: Option<String>Implementations§
Source§impl PostmapDetails
impl PostmapDetails
pub fn new_file_error( error_type: ErrorType, file_path: String, error_message: String, ) -> Self
pub fn new_command_error( error_message: String, command_args: Option<String>, ) -> Self
Trait Implementations§
Source§impl Clone for PostmapDetails
impl Clone for PostmapDetails
Source§fn clone(&self) -> PostmapDetails
fn clone(&self) -> PostmapDetails
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 PostmapDetails
impl Debug for PostmapDetails
Source§impl<'de> Deserialize<'de> for PostmapDetails
impl<'de> Deserialize<'de> for PostmapDetails
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 PostmapDetails
impl PartialEq for PostmapDetails
Source§impl Serialize for PostmapDetails
impl Serialize for PostmapDetails
impl StructuralPartialEq for PostmapDetails
Auto Trait Implementations§
impl Freeze for PostmapDetails
impl RefUnwindSafe for PostmapDetails
impl Send for PostmapDetails
impl Sync for PostmapDetails
impl Unpin for PostmapDetails
impl UnwindSafe for PostmapDetails
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