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