pub struct SetRepRecord {
pub activity: ActivityType,
pub sets: Vec<u32>,
pub comments: Option<String>,
/* private fields */
}Fields§
§activity: ActivityType§sets: Vec<u32>§comments: Option<String>Implementations§
Source§impl SetRepRecord
impl SetRepRecord
pub fn new( timestamp: DateTimeTz, activity: ActivityType, sets: Vec<u32>, comments: Option<String>, ) -> Result<SetRepRecord>
Trait Implementations§
Source§impl Clone for SetRepRecord
impl Clone for SetRepRecord
Source§fn clone(&self) -> SetRepRecord
fn clone(&self) -> SetRepRecord
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 SetRepRecord
impl Debug for SetRepRecord
Source§impl<'de> Deserialize<'de> for SetRepRecord
impl<'de> Deserialize<'de> for SetRepRecord
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 SetRepRecord
impl PartialEq for SetRepRecord
Source§impl Recordable for SetRepRecord
impl Recordable for SetRepRecord
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 SetRepRecord
impl Serialize for SetRepRecord
impl StructuralPartialEq for SetRepRecord
Auto Trait Implementations§
impl Freeze for SetRepRecord
impl RefUnwindSafe for SetRepRecord
impl Send for SetRepRecord
impl Sync for SetRepRecord
impl Unpin for SetRepRecord
impl UnwindSafe for SetRepRecord
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