Struct x11rb_protocol::protocol::sync::CreateAlarmAux
source · pub struct CreateAlarmAux {
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 create_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 CreateAlarmAux
impl CreateAlarmAux
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 CreateAlarmAux
impl Clone for CreateAlarmAux
source§fn clone(&self) -> CreateAlarmAux
fn clone(&self) -> CreateAlarmAux
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 CreateAlarmAux
impl Debug for CreateAlarmAux
source§impl Default for CreateAlarmAux
impl Default for CreateAlarmAux
source§fn default() -> CreateAlarmAux
fn default() -> CreateAlarmAux
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateAlarmAux
impl<'de> Deserialize<'de> for CreateAlarmAux
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 CreateAlarmAux
impl Hash for CreateAlarmAux
source§impl Ord for CreateAlarmAux
impl Ord for CreateAlarmAux
source§fn cmp(&self, other: &CreateAlarmAux) -> Ordering
fn cmp(&self, other: &CreateAlarmAux) -> 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 CreateAlarmAux
impl PartialEq for CreateAlarmAux
source§fn eq(&self, other: &CreateAlarmAux) -> bool
fn eq(&self, other: &CreateAlarmAux) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CreateAlarmAux
impl PartialOrd for CreateAlarmAux
source§fn partial_cmp(&self, other: &CreateAlarmAux) -> Option<Ordering>
fn partial_cmp(&self, other: &CreateAlarmAux) -> 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 CreateAlarmAux
impl Serialize for CreateAlarmAux
impl Copy for CreateAlarmAux
impl Eq for CreateAlarmAux
impl StructuralPartialEq for CreateAlarmAux
Auto Trait Implementations§
impl Freeze for CreateAlarmAux
impl RefUnwindSafe for CreateAlarmAux
impl Send for CreateAlarmAux
impl Sync for CreateAlarmAux
impl Unpin for CreateAlarmAux
impl UnwindSafe for CreateAlarmAux
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