pub struct ClaimPathError {
pub path: ClaimPath,
pub depth: usize,
pub expected: &'static str,
}Available on crate feature
vc only.Expand description
A ClaimPath component met a value it cannot select from.
Fields§
§path: ClaimPathThe path.
depth: usizeThe position of the offending component.
expected: &'static strWhat the component needs: an object or an array.
Trait Implementations§
Source§impl Clone for ClaimPathError
impl Clone for ClaimPathError
Source§impl Debug for ClaimPathError
impl Debug for ClaimPathError
Source§impl Display for ClaimPathError
impl Display for ClaimPathError
impl Eq for ClaimPathError
Source§impl Error for ClaimPathError
impl Error for ClaimPathError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ClaimPathError> for TypeMetadataError
Available on crate feature sd-jwt only.
impl From<ClaimPathError> for TypeMetadataError
Available on crate feature
sd-jwt only.Source§fn from(source: ClaimPathError) -> Self
fn from(source: ClaimPathError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClaimPathError
impl PartialEq for ClaimPathError
impl StructuralPartialEq for ClaimPathError
Auto Trait Implementations§
impl Freeze for ClaimPathError
impl RefUnwindSafe for ClaimPathError
impl Send for ClaimPathError
impl Sync for ClaimPathError
impl Unpin for ClaimPathError
impl UnsafeUnpin for ClaimPathError
impl UnwindSafe for ClaimPathError
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.