pub struct Snapshot {
pub windows: Vec<Window>,
pub observed_at: Option<i64>,
pub answered_at: Option<i64>,
pub lists_every_limit: bool,
pub source: Source,
}Fields§
§windows: Vec<Window>§observed_at: Option<i64>§answered_at: Option<i64>When the service last answered for this account’s own login. Absent from a reading an older Pitboard wrote.
lists_every_limit: boolWhether windows are every limit the account has, so a limit they leave out is one
it does not have: true of an answer read whole from a service whose answers list
them all, and of the reading that answer set, since a session never adds a limit.
source: SourceTrait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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
impl StructuralPartialEq for Snapshot
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnsafeUnpin for Snapshot
impl UnwindSafe for Snapshot
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