pub struct NodeErrorSource {
pub node: String,
pub input: Option<String>,
}Expand description
Where an error originated — the node and (optionally) the input that failed.
Fields§
§node: StringThe node id that produced the error.
input: Option<String>The input name that triggered it, when applicable.
Trait Implementations§
Source§impl Clone for NodeErrorSource
impl Clone for NodeErrorSource
Source§fn clone(&self) -> NodeErrorSource
fn clone(&self) -> NodeErrorSource
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 NodeErrorSource
impl Debug for NodeErrorSource
Source§impl<'de> Deserialize<'de> for NodeErrorSource
impl<'de> Deserialize<'de> for NodeErrorSource
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 NodeErrorSource
impl PartialEq for NodeErrorSource
Source§fn eq(&self, other: &NodeErrorSource) -> bool
fn eq(&self, other: &NodeErrorSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NodeErrorSource
impl Serialize for NodeErrorSource
impl StructuralPartialEq for NodeErrorSource
Auto Trait Implementations§
impl Freeze for NodeErrorSource
impl RefUnwindSafe for NodeErrorSource
impl Send for NodeErrorSource
impl Sync for NodeErrorSource
impl Unpin for NodeErrorSource
impl UnsafeUnpin for NodeErrorSource
impl UnwindSafe for NodeErrorSource
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