pub struct GetStatsResponse {
pub base: Box<Stats>,
pub ice_role: IceRole,
pub ice_state: IceState,
pub ice_selected_tuple: Option<Box<Tuple>>,
pub dtls_state: DtlsState,
}
Expand description
The table GetStatsResponse
in the namespace FBS.WebRtcTransport
Generated from these locations:
- Table
GetStatsResponse
in the filefbs/webRtcTransport.fbs:116
Fields§
§base: Box<Stats>
The field base
in the table GetStatsResponse
ice_role: IceRole
The field ice_role
in the table GetStatsResponse
ice_state: IceState
The field ice_state
in the table GetStatsResponse
ice_selected_tuple: Option<Box<Tuple>>
The field ice_selected_tuple
in the table GetStatsResponse
dtls_state: DtlsState
The field dtls_state
in the table GetStatsResponse
Implementations§
Source§impl GetStatsResponse
impl GetStatsResponse
Sourcepub fn builder() -> GetStatsResponseBuilder<()>
pub fn builder() -> GetStatsResponseBuilder<()>
Creates a GetStatsResponseBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_base: impl WriteAs<Offset<Stats>>, field_ice_role: impl WriteAsDefault<IceRole, IceRole>, field_ice_state: impl WriteAsDefault<IceState, IceState>, field_ice_selected_tuple: impl WriteAsOptional<Offset<Tuple>>, field_dtls_state: impl WriteAsDefault<DtlsState, DtlsState>, ) -> Offset<Self>
Trait Implementations§
Source§impl Clone for GetStatsResponse
impl Clone for GetStatsResponse
Source§fn clone(&self) -> GetStatsResponse
fn clone(&self) -> GetStatsResponse
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 Debug for GetStatsResponse
impl Debug for GetStatsResponse
Source§impl<'de> Deserialize<'de> for GetStatsResponse
impl<'de> Deserialize<'de> for GetStatsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetStatsResponse
impl PartialEq for GetStatsResponse
Source§impl PartialOrd for GetStatsResponse
impl PartialOrd for GetStatsResponse
Source§impl Serialize for GetStatsResponse
impl Serialize for GetStatsResponse
Source§impl<'a> TryFrom<GetStatsResponseRef<'a>> for GetStatsResponse
impl<'a> TryFrom<GetStatsResponseRef<'a>> for GetStatsResponse
impl StructuralPartialEq for GetStatsResponse
impl VectorWrite<Offset<GetStatsResponse>> for GetStatsResponse
impl WriteAs<Offset<GetStatsResponse>> for GetStatsResponse
impl WriteAsOffset<GetStatsResponse> for GetStatsResponse
impl<T0: WriteAs<Offset<Stats>>, T1: WriteAsDefault<IceRole, IceRole>, T2: WriteAsDefault<IceState, IceState>, T3: WriteAsOptional<Offset<Tuple>>, T4: WriteAsDefault<DtlsState, DtlsState>> WriteAsOffset<GetStatsResponse> for GetStatsResponseBuilder<(T0, T1, T2, T3, T4)>
impl WriteAsOptional<Offset<GetStatsResponse>> for GetStatsResponse
Auto Trait Implementations§
impl Freeze for GetStatsResponse
impl RefUnwindSafe for GetStatsResponse
impl Send for GetStatsResponse
impl Sync for GetStatsResponse
impl Unpin for GetStatsResponse
impl UnwindSafe for GetStatsResponse
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