Struct dash7_alp::spec::v1_2::action::file_id_action::FileIdAction
source · pub struct FileIdAction {
pub group: bool,
pub resp: bool,
pub file_id: u8,
}
Expand description
Checks whether a file exists
Fields§
§group: bool
Group with next action
resp: bool
Ask for a response (status?)
file_id: u8
Trait Implementations§
source§impl Clone for FileIdAction
impl Clone for FileIdAction
source§fn clone(&self) -> FileIdAction
fn clone(&self) -> FileIdAction
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 FileIdAction
impl Codec for FileIdAction
type Error = StdError
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 FileIdAction
impl Debug for FileIdAction
source§impl Display for FileIdAction
impl Display for FileIdAction
source§impl PartialEq for FileIdAction
impl PartialEq for FileIdAction
source§fn eq(&self, other: &FileIdAction) -> bool
fn eq(&self, other: &FileIdAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FileIdAction
impl StructuralPartialEq for FileIdAction
Auto Trait Implementations§
impl Freeze for FileIdAction
impl RefUnwindSafe for FileIdAction
impl Send for FileIdAction
impl Sync for FileIdAction
impl Unpin for FileIdAction
impl UnwindSafe for FileIdAction
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