pub struct ErrorConversionCode {
pub conversion_functions: String,
pub error_enum: String,
pub helper_traits: String,
}Expand description
Generated error conversion code for common Python error patterns
Fields§
§conversion_functions: String§error_enum: String§helper_traits: StringTrait Implementations§
Source§impl Clone for ErrorConversionCode
impl Clone for ErrorConversionCode
Source§fn clone(&self) -> ErrorConversionCode
fn clone(&self) -> ErrorConversionCode
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 moreAuto Trait Implementations§
impl Freeze for ErrorConversionCode
impl RefUnwindSafe for ErrorConversionCode
impl Send for ErrorConversionCode
impl Sync for ErrorConversionCode
impl Unpin for ErrorConversionCode
impl UnwindSafe for ErrorConversionCode
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