pub struct ErrorParameter {
pub name: Option<String>,
pub value: Option<String>,
}Fields§
§name: Option<String>The object of the error.
value: Option<String>The value of the object.
Implementations§
Source§impl ErrorParameter
impl ErrorParameter
pub fn new() -> ErrorParameter
Trait Implementations§
Source§impl Clone for ErrorParameter
impl Clone for ErrorParameter
Source§fn clone(&self) -> ErrorParameter
fn clone(&self) -> ErrorParameter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ErrorParameter
impl Debug for ErrorParameter
Source§impl Default for ErrorParameter
impl Default for ErrorParameter
Source§fn default() -> ErrorParameter
fn default() -> ErrorParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorParameter
impl<'de> Deserialize<'de> for ErrorParameter
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorParameter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorParameter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ErrorParameter
impl PartialEq for ErrorParameter
Source§impl Serialize for ErrorParameter
impl Serialize for ErrorParameter
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ErrorParameter
Auto Trait Implementations§
impl Freeze for ErrorParameter
impl RefUnwindSafe for ErrorParameter
impl Send for ErrorParameter
impl Sync for ErrorParameter
impl Unpin for ErrorParameter
impl UnsafeUnpin for ErrorParameter
impl UnwindSafe for ErrorParameter
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