Struct dash7_alp::spec::v1_2::action::query_action::QueryAction
source · pub struct QueryAction {
pub group: bool,
pub resp: bool,
pub query: Query,
}
Expand description
Add a condition on the execution of the next group of action.
If the condition is not met, the next group of action should be skipped.
Fields§
§group: bool
Group with next action
resp: bool
Does not make sense.
query: Query
Trait Implementations§
source§impl Clone for QueryAction
impl Clone for QueryAction
source§fn clone(&self) -> QueryAction
fn clone(&self) -> QueryAction
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 Codec for QueryAction
impl Codec for QueryAction
type Error = QueryDecodingError
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Computes the number of bytes required to encode the item.
source§unsafe fn encode_in(&self, out: &mut [u8]) -> usize
unsafe fn encode_in(&self, out: &mut [u8]) -> usize
Encode the item into a given byte array. Read more
source§impl Debug for QueryAction
impl Debug for QueryAction
source§impl Display for QueryAction
impl Display for QueryAction
source§impl PartialEq for QueryAction
impl PartialEq for QueryAction
source§fn eq(&self, other: &QueryAction) -> bool
fn eq(&self, other: &QueryAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for QueryAction
Auto Trait Implementations§
impl Freeze for QueryAction
impl RefUnwindSafe for QueryAction
impl Send for QueryAction
impl Sync for QueryAction
impl Unpin for QueryAction
impl UnwindSafe for QueryAction
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