Struct scrypto::prelude::radix_engine_common::prelude::LocatedValidationError
source · pub struct LocatedValidationError<'s, E>where
E: CustomExtension,{
pub error: PayloadValidationError<E>,
pub location: FullLocation<'s, E>,
}
Fields§
§error: PayloadValidationError<E>
§location: FullLocation<'s, E>
Implementations§
source§impl<'s, E> LocatedValidationError<'s, E>where
E: CustomExtension,
impl<'s, E> LocatedValidationError<'s, E>where
E: CustomExtension,
pub fn error_message( &self, schema: &SchemaV1<<E as CustomExtension>::CustomSchema> ) -> String
Trait Implementations§
source§impl<'s, E> Clone for LocatedValidationError<'s, E>where
E: Clone + CustomExtension,
impl<'s, E> Clone for LocatedValidationError<'s, E>where
E: Clone + CustomExtension,
source§fn clone(&self) -> LocatedValidationError<'s, E>
fn clone(&self) -> LocatedValidationError<'s, E>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'s, E> Debug for LocatedValidationError<'s, E>where
E: Debug + CustomExtension,
impl<'s, E> Debug for LocatedValidationError<'s, E>where
E: Debug + CustomExtension,
source§impl<'s, E> PartialEq for LocatedValidationError<'s, E>where
E: PartialEq + CustomExtension,
impl<'s, E> PartialEq for LocatedValidationError<'s, E>where
E: PartialEq + CustomExtension,
source§fn eq(&self, other: &LocatedValidationError<'s, E>) -> bool
fn eq(&self, other: &LocatedValidationError<'s, E>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'s, E> Eq for LocatedValidationError<'s, E>where
E: Eq + CustomExtension,
impl<'s, E> StructuralPartialEq for LocatedValidationError<'s, E>where
E: CustomExtension,
Auto Trait Implementations§
impl<'s, E> RefUnwindSafe for LocatedValidationError<'s, E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>: RefUnwindSafe,
<E as CustomExtension>::CustomValueKind: RefUnwindSafe,
impl<'s, E> Send for LocatedValidationError<'s, E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>: Send,
<E as CustomExtension>::CustomValueKind: Send,
impl<'s, E> Sync for LocatedValidationError<'s, E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>: Sync,
<E as CustomExtension>::CustomValueKind: Sync,
impl<'s, E> Unpin for LocatedValidationError<'s, E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>: Unpin,
<E as CustomExtension>::CustomValueKind: Unpin,
impl<'s, E> UnwindSafe for LocatedValidationError<'s, E>where
<<E as CustomExtension>::CustomSchema as CustomSchema>::CustomTypeKind<LocalTypeId>: UnwindSafe,
<E as CustomExtension>::CustomValueKind: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more