Struct palmrs_database::record::pdb_record::RecordAttributes
source · pub struct RecordAttributes {
pub delete: bool,
pub dirty: bool,
pub busy: bool,
pub secret: bool,
pub category: u8,
}
Expand description
Attributes used for Palm Database Records (not Resources)
This is a more human-friendly representation of the attributes byte
used by the on-disk record header format. Conversion to/from
the attributes byte is handled by the respective From<u8>
and From<RecordAttributes>
implementations.
Fields§
§delete: bool
§dirty: bool
§busy: bool
§secret: bool
§category: u8
Trait Implementations§
source§impl Clone for RecordAttributes
impl Clone for RecordAttributes
source§fn clone(&self) -> RecordAttributes
fn clone(&self) -> RecordAttributes
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 RecordAttributes
impl Debug for RecordAttributes
source§impl Default for RecordAttributes
impl Default for RecordAttributes
source§fn default() -> RecordAttributes
fn default() -> RecordAttributes
Returns the “default value” for a type. Read more
source§impl From<RecordAttributes> for u8
impl From<RecordAttributes> for u8
source§fn from(value: RecordAttributes) -> Self
fn from(value: RecordAttributes) -> Self
Converts to this type from the input type.
source§impl From<u8> for RecordAttributes
impl From<u8> for RecordAttributes
source§impl PartialEq<RecordAttributes> for RecordAttributes
impl PartialEq<RecordAttributes> for RecordAttributes
source§fn eq(&self, other: &RecordAttributes) -> bool
fn eq(&self, other: &RecordAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RecordAttributes
impl StructuralPartialEq for RecordAttributes
Auto Trait Implementations§
impl RefUnwindSafe for RecordAttributes
impl Send for RecordAttributes
impl Sync for RecordAttributes
impl Unpin for RecordAttributes
impl UnwindSafe for RecordAttributes
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