pub struct BreakActivity {
pub info: String,
pub begin: DateTime<Utc>,
pub end: DateTime<Utc>,
pub duration: u64,
}Fields§
§info: StringA string containing info about this break. "Перемена" usually
begin: DateTime<Utc>UTC time when this lesson begins
end: DateTime<Utc>UTC time when this lesson ends
duration: u64Time in seconds that this break takes
Trait Implementations§
Source§impl Clone for BreakActivity
impl Clone for BreakActivity
Source§fn clone(&self) -> BreakActivity
fn clone(&self) -> BreakActivity
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 BreakActivity
impl Debug for BreakActivity
Source§impl<'de> Deserialize<'de> for BreakActivity
impl<'de> Deserialize<'de> for BreakActivity
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
Auto Trait Implementations§
impl Freeze for BreakActivity
impl RefUnwindSafe for BreakActivity
impl Send for BreakActivity
impl Sync for BreakActivity
impl Unpin for BreakActivity
impl UnwindSafe for BreakActivity
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