pub struct MeilisearchCommunicationError {
pub status_code: u16,
pub message: Option<String>,
pub url: String,
}
Fields§
§status_code: u16
§message: Option<String>
§url: String
Trait Implementations§
source§impl Clone for MeilisearchCommunicationError
impl Clone for MeilisearchCommunicationError
source§fn clone(&self) -> MeilisearchCommunicationError
fn clone(&self) -> MeilisearchCommunicationError
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 moresource§impl<'de> Deserialize<'de> for MeilisearchCommunicationError
impl<'de> Deserialize<'de> for MeilisearchCommunicationError
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 Error for MeilisearchCommunicationError
impl Error for MeilisearchCommunicationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<MeilisearchCommunicationError> for Error
impl From<MeilisearchCommunicationError> for Error
source§fn from(source: MeilisearchCommunicationError) -> Self
fn from(source: MeilisearchCommunicationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MeilisearchCommunicationError
impl Send for MeilisearchCommunicationError
impl Sync for MeilisearchCommunicationError
impl Unpin for MeilisearchCommunicationError
impl UnwindSafe for MeilisearchCommunicationError
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