Enum ResourceResponseStatus
#[non_exhaustive]pub enum ResourceResponseStatus {
Ok,
Error,
NoContent,
NotModified,
}Expand description
Status for a resource provider response.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
§impl Clone for ResourceResponseStatus
impl Clone for ResourceResponseStatus
§fn clone(&self) -> ResourceResponseStatus
fn clone(&self) -> ResourceResponseStatus
Returns a duplicate 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 more§impl Debug for ResourceResponseStatus
impl Debug for ResourceResponseStatus
§impl Hash for ResourceResponseStatus
impl Hash for ResourceResponseStatus
§impl PartialEq for ResourceResponseStatus
impl PartialEq for ResourceResponseStatus
impl Copy for ResourceResponseStatus
impl Eq for ResourceResponseStatus
impl StructuralPartialEq for ResourceResponseStatus
Auto Trait Implementations§
impl Freeze for ResourceResponseStatus
impl RefUnwindSafe for ResourceResponseStatus
impl Send for ResourceResponseStatus
impl Sync for ResourceResponseStatus
impl Unpin for ResourceResponseStatus
impl UnsafeUnpin for ResourceResponseStatus
impl UnwindSafe for ResourceResponseStatus
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