Struct x11rb_protocol::protocol::sync::ChangeAlarmAux
source · pub struct ChangeAlarmAux {
pub counter: Option<Counter>,
pub value_type: Option<VALUETYPE>,
pub value: Option<Int64>,
pub test_type: Option<TESTTYPE>,
pub delta: Option<Int64>,
pub events: Option<u32>,
}
Expand description
Auxiliary and optional information for the change_alarm
function
Fields§
§counter: Option<Counter>
§value_type: Option<VALUETYPE>
§value: Option<Int64>
§test_type: Option<TESTTYPE>
§delta: Option<Int64>
§events: Option<u32>
Implementations§
source§impl ChangeAlarmAux
impl ChangeAlarmAux
sourcepub fn value_type<I>(self, value: I) -> Self
pub fn value_type<I>(self, value: I) -> Self
Set the value_type
field of this structure.
Trait Implementations§
source§impl Clone for ChangeAlarmAux
impl Clone for ChangeAlarmAux
source§fn clone(&self) -> ChangeAlarmAux
fn clone(&self) -> ChangeAlarmAux
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 ChangeAlarmAux
impl Debug for ChangeAlarmAux
source§impl Default for ChangeAlarmAux
impl Default for ChangeAlarmAux
source§fn default() -> ChangeAlarmAux
fn default() -> ChangeAlarmAux
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChangeAlarmAux
impl<'de> Deserialize<'de> for ChangeAlarmAux
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 Hash for ChangeAlarmAux
impl Hash for ChangeAlarmAux
source§impl Ord for ChangeAlarmAux
impl Ord for ChangeAlarmAux
source§fn cmp(&self, other: &ChangeAlarmAux) -> Ordering
fn cmp(&self, other: &ChangeAlarmAux) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ChangeAlarmAux
impl PartialEq for ChangeAlarmAux
source§fn eq(&self, other: &ChangeAlarmAux) -> bool
fn eq(&self, other: &ChangeAlarmAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChangeAlarmAux
impl PartialOrd for ChangeAlarmAux
source§fn partial_cmp(&self, other: &ChangeAlarmAux) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeAlarmAux) -> Option<Ordering>
1.0.0 · source§fn 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 moresource§impl Serialize for ChangeAlarmAux
impl Serialize for ChangeAlarmAux
impl Copy for ChangeAlarmAux
impl Eq for ChangeAlarmAux
impl StructuralPartialEq for ChangeAlarmAux
Auto Trait Implementations§
impl Freeze for ChangeAlarmAux
impl RefUnwindSafe for ChangeAlarmAux
impl Send for ChangeAlarmAux
impl Sync for ChangeAlarmAux
impl Unpin for ChangeAlarmAux
impl UnwindSafe for ChangeAlarmAux
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