pub struct RejectResponse {
pub reject_code: RejectCode,
pub reject_message: String,
pub error_code: ErrorCode,
pub certified: bool,
}Expand description
User-facing type describing an unsuccessful (also called reject) call response.
Fields§
§reject_code: RejectCode§reject_message: String§error_code: ErrorCode§certified: boolTrait Implementations§
Source§impl Clone for RejectResponse
impl Clone for RejectResponse
Source§impl Debug for RejectResponse
impl Debug for RejectResponse
Source§impl<'de> Deserialize<'de> for RejectResponse
impl<'de> Deserialize<'de> for RejectResponse
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 Display for RejectResponse
impl Display for RejectResponse
impl Eq for RejectResponse
Source§impl From<RejectResponse> for ClientError
impl From<RejectResponse> for ClientError
Source§fn from(value: RejectResponse) -> Self
fn from(value: RejectResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RejectResponse
impl PartialEq for RejectResponse
Source§impl Serialize for RejectResponse
impl Serialize for RejectResponse
impl StructuralPartialEq for RejectResponse
Auto Trait Implementations§
impl Forget for RejectResponse
impl Freeze for RejectResponse
impl RefUnwindSafe for RejectResponse
impl Send for RejectResponse
impl Sync for RejectResponse
impl Unpin for RejectResponse
impl UnsafeUnpin for RejectResponse
impl UnwindSafe for RejectResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CustomError for T
impl<T> CustomError for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.