Struct dpdu_rust::ParamStructSessionTiming
source · [−]#[repr(C)]pub struct ParamStructSessionTiming {
pub session: u16,
pub p2_max_high: u8,
pub p2_max_low: u8,
pub p2_star_high: u8,
pub p2_star_low: u8,
}
Expand description
Session timing for ParamStructFieldData when ParamStructFieldData::com_param_struct_type is PduCpst::SessionTiming
Fields
session: u16
Session ID
p2_max_high: u8
1ms resolution
p2_max_low: u8
1ms resolution
p2_star_high: u8
10ms resolution
p2_star_low: u8
10ms resolution
Trait Implementations
sourceimpl Clone for ParamStructSessionTiming
impl Clone for ParamStructSessionTiming
sourcefn clone(&self) -> ParamStructSessionTiming
fn clone(&self) -> ParamStructSessionTiming
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParamStructSessionTiming
impl Debug for ParamStructSessionTiming
sourceimpl Ord for ParamStructSessionTiming
impl Ord for ParamStructSessionTiming
sourceimpl PartialEq<ParamStructSessionTiming> for ParamStructSessionTiming
impl PartialEq<ParamStructSessionTiming> for ParamStructSessionTiming
sourcefn eq(&self, other: &ParamStructSessionTiming) -> bool
fn eq(&self, other: &ParamStructSessionTiming) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParamStructSessionTiming) -> bool
fn ne(&self, other: &ParamStructSessionTiming) -> bool
This method tests for !=
.
sourceimpl PartialOrd<ParamStructSessionTiming> for ParamStructSessionTiming
impl PartialOrd<ParamStructSessionTiming> for ParamStructSessionTiming
sourcefn partial_cmp(&self, other: &ParamStructSessionTiming) -> Option<Ordering>
fn partial_cmp(&self, other: &ParamStructSessionTiming) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ParamStructSessionTiming
impl Eq for ParamStructSessionTiming
impl StructuralEq for ParamStructSessionTiming
impl StructuralPartialEq for ParamStructSessionTiming
Auto Trait Implementations
impl RefUnwindSafe for ParamStructSessionTiming
impl Send for ParamStructSessionTiming
impl Sync for ParamStructSessionTiming
impl Unpin for ParamStructSessionTiming
impl UnwindSafe for ParamStructSessionTiming
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more