Struct couch_rs::error::ErrorDetails
source · pub struct ErrorDetails {
pub id: Option<String>,
pub status: StatusCode,
pub message: String,
/* private fields */
}
Fields§
§id: Option<String>
Some (bulk) transaction might return an id as part of the error
status: StatusCode
HTTP Status Code
message: String
Detailed error message
Trait Implementations§
source§impl Clone for ErrorDetails
impl Clone for ErrorDetails
source§fn clone(&self) -> ErrorDetails
fn clone(&self) -> ErrorDetails
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 moreAuto Trait Implementations§
impl Freeze for ErrorDetails
impl !RefUnwindSafe for ErrorDetails
impl Send for ErrorDetails
impl Sync for ErrorDetails
impl Unpin for ErrorDetails
impl !UnwindSafe for ErrorDetails
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