pub struct DataErrorDescriptor {
pub name: &'static str,
pub docs: &'static str,
}Expand description
One data-error name and its source-of-truth documentation.
Fields§
§name: &'static strStable variant name used by generated host and language bindings.
docs: &'static strShort description of the condition that produced the error.
Trait Implementations§
Source§impl Clone for DataErrorDescriptor
impl Clone for DataErrorDescriptor
Source§fn clone(&self) -> DataErrorDescriptor
fn clone(&self) -> DataErrorDescriptor
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 moreimpl Copy for DataErrorDescriptor
Source§impl Debug for DataErrorDescriptor
impl Debug for DataErrorDescriptor
Source§impl Deserialize<'static> for DataErrorDescriptor
impl Deserialize<'static> for DataErrorDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DataErrorDescriptor
Source§impl PartialEq for DataErrorDescriptor
impl PartialEq for DataErrorDescriptor
Source§fn eq(&self, other: &DataErrorDescriptor) -> bool
fn eq(&self, other: &DataErrorDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataErrorDescriptor
impl Serialize for DataErrorDescriptor
impl StructuralPartialEq for DataErrorDescriptor
Auto Trait Implementations§
impl Freeze for DataErrorDescriptor
impl RefUnwindSafe for DataErrorDescriptor
impl Send for DataErrorDescriptor
impl Sync for DataErrorDescriptor
impl Unpin for DataErrorDescriptor
impl UnsafeUnpin for DataErrorDescriptor
impl UnwindSafe for DataErrorDescriptor
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