pub struct Record {
pub status: RecordStatus,
pub thing: Thing,
}
Fields§
§status: RecordStatus
§thing: Thing
Implementations§
Source§impl Record
impl Record
pub fn is_saved(&self) -> bool
pub fn is_unsaved(&self) -> bool
pub fn is_deleted(&self) -> bool
pub fn is_from_source(&self, source: RecordSource) -> bool
Trait Implementations§
impl Eq for Record
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Freeze for Record
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
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