pub struct RepDurationRecord {
pub activity: ActivityType,
pub sets: Vec<Second<f64>>,
pub comments: Option<String>,
/* private fields */
}Fields§
§activity: ActivityType§sets: Vec<Second<f64>>§comments: Option<String>Implementations§
Source§impl RepDurationRecord
impl RepDurationRecord
pub fn new( timestamp: DateTimeTz, activity: ActivityType, sets: Vec<Second<f64>>, comments: Option<String>, ) -> RepDurationRecord
Trait Implementations§
Source§impl Clone for RepDurationRecord
impl Clone for RepDurationRecord
Source§fn clone(&self) -> RepDurationRecord
fn clone(&self) -> RepDurationRecord
Returns a duplicate 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 RepDurationRecord
impl Debug for RepDurationRecord
Source§impl<'de> Deserialize<'de> for RepDurationRecord
impl<'de> Deserialize<'de> for RepDurationRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RepDurationRecord
impl PartialEq for RepDurationRecord
Source§impl Recordable for RepDurationRecord
impl Recordable for RepDurationRecord
Source§fn timestamp(&self) -> DateTimeTz
fn timestamp(&self) -> DateTimeTz
The timestamp for the record.
A list of string tags that can be used for indexing. This list defined per-type.
Source§impl Serialize for RepDurationRecord
impl Serialize for RepDurationRecord
impl StructuralPartialEq for RepDurationRecord
Auto Trait Implementations§
impl Freeze for RepDurationRecord
impl RefUnwindSafe for RepDurationRecord
impl Send for RepDurationRecord
impl Sync for RepDurationRecord
impl Unpin for RepDurationRecord
impl UnwindSafe for RepDurationRecord
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