[−][src]Enum amp_serde::Response
Variants
Ok(OkResponse<F>)
Err(ErrorResponse)
Trait Implementations
impl<F: Clone> Clone for Response<F>
[src]
impl<F: Debug> Debug for Response<F>
[src]
impl<'de, F> Deserialize<'de> for Response<F> where
F: Deserialize<'de>,
[src]
F: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<R> From<Response<R>> for Result<OkResponse<R>, ErrorResponse>
[src]
fn from(value: Response<R>) -> Result<OkResponse<R>, ErrorResponse>
[src]
impl<R> From<Result<OkResponse<R>, ErrorResponse>> for Response<R>
[src]
fn from(value: Result<OkResponse<R>, ErrorResponse>) -> Response<R>
[src]
impl<F> Serialize for Response<F> where
F: Serialize,
[src]
F: Serialize,
Auto Trait Implementations
impl<F> RefUnwindSafe for Response<F> where
F: RefUnwindSafe,
F: RefUnwindSafe,
impl<F> Send for Response<F> where
F: Send,
F: Send,
impl<F> Sync for Response<F> where
F: Sync,
F: Sync,
impl<F> Unpin for Response<F> where
F: Unpin,
F: Unpin,
impl<F> UnwindSafe for Response<F> where
F: UnwindSafe,
F: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,