pub struct ServiceFailure {
pub code: String,
pub message: String,
pub request_id: Option<String>,
pub kind: ServiceErrorKind,
}
Fieldsยง
ยงcode: String
ยงmessage: String
ยงrequest_id: Option<String>
ยงkind: ServiceErrorKind
Implementationsยง
Sourceยงimpl ServiceFailure
impl ServiceFailure
pub fn kind(&self) -> ServiceErrorKind
Trait Implementationsยง
Auto Trait Implementationsยง
impl Freeze for ServiceFailure
impl RefUnwindSafe for ServiceFailure
impl Send for ServiceFailure
impl Sync for ServiceFailure
impl Unpin for ServiceFailure
impl UnwindSafe for ServiceFailure
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