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 counter<I>(self, value: I) -> Selfwhere
I: Into<Option<Counter>>,
pub fn counter<I>(self, value: I) -> Selfwhere I: Into<Option<Counter>>,
Set the counter
field of this structure.
sourcepub fn value_type<I>(self, value: I) -> Selfwhere
I: Into<Option<VALUETYPE>>,
pub fn value_type<I>(self, value: I) -> Selfwhere I: Into<Option<VALUETYPE>>,
Set the value_type
field of this structure.
sourcepub fn value<I>(self, value: I) -> Selfwhere
I: Into<Option<Int64>>,
pub fn value<I>(self, value: I) -> Selfwhere I: Into<Option<Int64>>,
Set the value
field of this structure.
sourcepub fn test_type<I>(self, value: I) -> Selfwhere
I: Into<Option<TESTTYPE>>,
pub fn test_type<I>(self, value: I) -> Selfwhere I: Into<Option<TESTTYPE>>,
Set the test_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 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<CreateAlarmAux> for CreateAlarmAux
impl PartialEq<CreateAlarmAux> 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<CreateAlarmAux> for CreateAlarmAux
impl PartialOrd<CreateAlarmAux> 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 moreimpl Copy for CreateAlarmAux
impl Eq for CreateAlarmAux
impl StructuralEq for CreateAlarmAux
impl StructuralPartialEq for CreateAlarmAux
Auto Trait Implementations§
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