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