pub struct DayAccepted {
pub workday_id: String,
pub date: NaiveDate,
pub pauses: usize,
pub tasks: usize,
pub deleted_tasks: u64,
pub privacy_level: Option<String>,
}Expand description
What the server reports about a day it stored.
Fields§
§workday_id: StringThe server’s own id for the day, which this agent does not otherwise know: worth printing so a day can be looked up on the other side.
date: NaiveDate§pauses: usize§tasks: usize§deleted_tasks: u64Tasks the server dropped because this upload declared its set authoritative. Non-zero means deletions here reached the server.
privacy_level: Option<String>The installation’s privacy level, always reported - an agent should be able to tell a server that keeps everything from one whose policy it has not read (ADR 0011).
Trait Implementations§
Source§impl Clone for DayAccepted
impl Clone for DayAccepted
Source§fn clone(&self) -> DayAccepted
fn clone(&self) -> DayAccepted
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DayAccepted
impl Debug for DayAccepted
Source§impl<'de> Deserialize<'de> for DayAccepted
impl<'de> Deserialize<'de> for DayAccepted
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 DayAccepted
impl RefUnwindSafe for DayAccepted
impl Send for DayAccepted
impl Sync for DayAccepted
impl Unpin for DayAccepted
impl UnsafeUnpin for DayAccepted
impl UnwindSafe for DayAccepted
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