#[non_exhaustive]pub struct ResourceNotFoundError { /* private fields */ }Expand description
The server response when the specified resource cannot be found after an API request passes authentication and authorization.
Implementations§
source§impl ResourceNotFoundError
impl ResourceNotFoundError
pub fn code(&self) -> Option<&NotFoundCode>
pub fn data(&self) -> Option<&NotFoundData>
source§impl ResourceNotFoundError
impl ResourceNotFoundError
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceNotFoundError.
Trait Implementations§
source§impl Clone for ResourceNotFoundError
impl Clone for ResourceNotFoundError
source§fn clone(&self) -> ResourceNotFoundError
fn clone(&self) -> ResourceNotFoundError
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 Debug for ResourceNotFoundError
impl Debug for ResourceNotFoundError
source§impl Display for ResourceNotFoundError
impl Display for ResourceNotFoundError
source§impl Error for ResourceNotFoundError
impl Error for ResourceNotFoundError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PartialEq<ResourceNotFoundError> for ResourceNotFoundError
impl PartialEq<ResourceNotFoundError> for ResourceNotFoundError
source§fn eq(&self, other: &ResourceNotFoundError) -> bool
fn eq(&self, other: &ResourceNotFoundError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResourceNotFoundError
Auto Trait Implementations§
impl RefUnwindSafe for ResourceNotFoundError
impl Send for ResourceNotFoundError
impl Sync for ResourceNotFoundError
impl Unpin for ResourceNotFoundError
impl UnwindSafe for ResourceNotFoundError
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