pub struct ResolutionFailure {
pub resource_kind: &'static str,
pub resource_name: String,
pub field: Option<&'static str>,
pub errors: Vec<ResolutionError>,
}Expand description
One resource’s worth of placeholder failures, ready to be folded into a top-level error message.
Fields§
§resource_kind: &'static str§resource_name: String§field: Option<&'static str>Some(field) for email_template fields, None for content_block.
errors: Vec<ResolutionError>Trait Implementations§
Source§impl Clone for ResolutionFailure
impl Clone for ResolutionFailure
Source§fn clone(&self) -> ResolutionFailure
fn clone(&self) -> ResolutionFailure
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 ResolutionFailure
impl Debug for ResolutionFailure
Source§impl PartialEq for ResolutionFailure
impl PartialEq for ResolutionFailure
Source§fn eq(&self, other: &ResolutionFailure) -> bool
fn eq(&self, other: &ResolutionFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ResolutionFailure
impl StructuralPartialEq for ResolutionFailure
Auto Trait Implementations§
impl Freeze for ResolutionFailure
impl RefUnwindSafe for ResolutionFailure
impl Send for ResolutionFailure
impl Sync for ResolutionFailure
impl Unpin for ResolutionFailure
impl UnsafeUnpin for ResolutionFailure
impl UnwindSafe for ResolutionFailure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.