Struct bookdata::interactions::actions::ActionInstance
source · pub struct ActionInstance {
timestamp: i64,
rating: Option<f32>,
}
Fields§
§timestamp: i64
§rating: Option<f32>
Trait Implementations§
source§impl Clone for ActionInstance
impl Clone for ActionInstance
source§fn clone(&self) -> ActionInstance
fn clone(&self) -> ActionInstance
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 ActionInstance
impl Debug for ActionInstance
source§impl PartialEq for ActionInstance
impl PartialEq for ActionInstance
source§fn eq(&self, other: &ActionInstance) -> bool
fn eq(&self, other: &ActionInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionInstance
Auto Trait Implementations§
impl RefUnwindSafe for ActionInstance
impl Send for ActionInstance
impl Sync for ActionInstance
impl Unpin for ActionInstance
impl UnwindSafe for ActionInstance
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