pub struct RelatedInfo {
pub message: String,
pub location: Option<SpecLocation>,
}Fields§
§message: String§location: Option<SpecLocation>Trait Implementations§
Source§impl Clone for RelatedInfo
impl Clone for RelatedInfo
Source§fn clone(&self) -> RelatedInfo
fn clone(&self) -> RelatedInfo
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 RelatedInfo
impl Debug for RelatedInfo
Source§impl<'de> Deserialize<'de> for RelatedInfo
impl<'de> Deserialize<'de> for RelatedInfo
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 RelatedInfo
impl PartialEq for RelatedInfo
Source§fn eq(&self, other: &RelatedInfo) -> bool
fn eq(&self, other: &RelatedInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RelatedInfo
impl Serialize for RelatedInfo
impl StructuralPartialEq for RelatedInfo
Auto Trait Implementations§
impl Freeze for RelatedInfo
impl RefUnwindSafe for RelatedInfo
impl Send for RelatedInfo
impl Sync for RelatedInfo
impl Unpin for RelatedInfo
impl UnsafeUnpin for RelatedInfo
impl UnwindSafe for RelatedInfo
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