pub struct ResponseRef<'a>(/* private fields */);
Expand description
Reference to a deserialized Response.
Implementations§
Source§impl<'a> ResponseRef<'a>
impl<'a> ResponseRef<'a>
Sourcepub fn accepted(&self) -> Result<bool>
pub fn accepted(&self) -> Result<bool>
Getter for the accepted
field.
Trait Implementations§
Source§impl<'a> Clone for ResponseRef<'a>
impl<'a> Clone for ResponseRef<'a>
Source§fn clone(&self) -> ResponseRef<'a>
fn clone(&self) -> ResponseRef<'a>
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<'a> Debug for ResponseRef<'a>
impl<'a> Debug for ResponseRef<'a>
Source§impl<'a> ReadAsRoot<'a> for ResponseRef<'a>
impl<'a> ReadAsRoot<'a> for ResponseRef<'a>
Source§impl<'a> TryFrom<ResponseRef<'a>> for Response
impl<'a> TryFrom<ResponseRef<'a>> for Response
impl<'a> Copy for ResponseRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResponseRef<'a>
impl<'a> RefUnwindSafe for ResponseRef<'a>
impl<'a> Send for ResponseRef<'a>
impl<'a> Sync for ResponseRef<'a>
impl<'a> Unpin for ResponseRef<'a>
impl<'a> UnwindSafe for ResponseRef<'a>
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