pub struct RealtimeResponseStatusDetailsError {
pub type: Option<String>,
pub code: Option<String>,
}
Expand description
A description of the error that caused the response to fail,
populated when the status
is failed
.
Fields§
§type: Option<String>
The type of error.
code: Option<String>
Error code, if any.
Implementations§
Source§impl RealtimeResponseStatusDetailsError
impl RealtimeResponseStatusDetailsError
Sourcepub fn builder() -> RealtimeResponseStatusDetailsErrorBuilder<((), ())>
pub fn builder() -> RealtimeResponseStatusDetailsErrorBuilder<((), ())>
Create a builder for building RealtimeResponseStatusDetailsError
.
On the builder, call .r#type(...)
(optional), .code(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of RealtimeResponseStatusDetailsError
.
Trait Implementations§
Source§impl Clone for RealtimeResponseStatusDetailsError
impl Clone for RealtimeResponseStatusDetailsError
Source§fn clone(&self) -> RealtimeResponseStatusDetailsError
fn clone(&self) -> RealtimeResponseStatusDetailsError
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 moreSource§impl Default for RealtimeResponseStatusDetailsError
impl Default for RealtimeResponseStatusDetailsError
Source§fn default() -> RealtimeResponseStatusDetailsError
fn default() -> RealtimeResponseStatusDetailsError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RealtimeResponseStatusDetailsError
impl<'de> Deserialize<'de> for RealtimeResponseStatusDetailsError
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 PartialEq for RealtimeResponseStatusDetailsError
impl PartialEq for RealtimeResponseStatusDetailsError
Source§fn eq(&self, other: &RealtimeResponseStatusDetailsError) -> bool
fn eq(&self, other: &RealtimeResponseStatusDetailsError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for RealtimeResponseStatusDetailsError
Auto Trait Implementations§
impl Freeze for RealtimeResponseStatusDetailsError
impl RefUnwindSafe for RealtimeResponseStatusDetailsError
impl Send for RealtimeResponseStatusDetailsError
impl Sync for RealtimeResponseStatusDetailsError
impl Unpin for RealtimeResponseStatusDetailsError
impl UnwindSafe for RealtimeResponseStatusDetailsError
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