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