pub struct BlockLine {
pub unlock_timestamp: Option<DateTime<Utc>>,
pub reset_text: String,
}Fields§
§unlock_timestamp: Option<DateTime<Utc>>Timestamp when the block was lifted/reset (if available)
reset_text: StringHuman-readable reset time (e.g. “5pm”, “2h30m”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockLine
impl<'de> Deserialize<'de> for BlockLine
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 BlockLine
impl RefUnwindSafe for BlockLine
impl Send for BlockLine
impl Sync for BlockLine
impl Unpin for BlockLine
impl UnsafeUnpin for BlockLine
impl UnwindSafe for BlockLine
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