pub struct AuthRequiredErrorData {
pub resources: Vec<ProtectedResourceMetadata>,
}Expand description
Details carried in the data field of an AuthRequired (-32007) error.
Fields§
§resources: Vec<ProtectedResourceMetadata>Protected resources that require authentication.
Trait Implementations§
Source§impl Clone for AuthRequiredErrorData
impl Clone for AuthRequiredErrorData
Source§fn clone(&self) -> AuthRequiredErrorData
fn clone(&self) -> AuthRequiredErrorData
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 AuthRequiredErrorData
impl Debug for AuthRequiredErrorData
Source§impl<'de> Deserialize<'de> for AuthRequiredErrorData
impl<'de> Deserialize<'de> for AuthRequiredErrorData
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 AuthRequiredErrorData
impl PartialEq for AuthRequiredErrorData
Source§fn eq(&self, other: &AuthRequiredErrorData) -> bool
fn eq(&self, other: &AuthRequiredErrorData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthRequiredErrorData
impl Serialize for AuthRequiredErrorData
impl StructuralPartialEq for AuthRequiredErrorData
Auto Trait Implementations§
impl Freeze for AuthRequiredErrorData
impl RefUnwindSafe for AuthRequiredErrorData
impl Send for AuthRequiredErrorData
impl Sync for AuthRequiredErrorData
impl Unpin for AuthRequiredErrorData
impl UnsafeUnpin for AuthRequiredErrorData
impl UnwindSafe for AuthRequiredErrorData
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