#[non_exhaustive]pub struct LichessTimeline {
pub entries: Vec<LichessTimelineEntry>,
pub users: HashMap<String, LichessLightUser>,
}Expand description
The authenticated user’s timeline. GET /api/timeline
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entries: Vec<LichessTimelineEntry>The timeline entries.
users: HashMap<String, LichessLightUser>Light user info for the users referenced by the entries.
Trait Implementations§
Source§impl Clone for LichessTimeline
impl Clone for LichessTimeline
Source§fn clone(&self) -> LichessTimeline
fn clone(&self) -> LichessTimeline
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 LichessTimeline
impl Debug for LichessTimeline
Source§impl Default for LichessTimeline
impl Default for LichessTimeline
Source§fn default() -> LichessTimeline
fn default() -> LichessTimeline
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LichessTimeline
impl<'de> Deserialize<'de> for LichessTimeline
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 LichessTimeline
impl PartialEq for LichessTimeline
Source§impl Serialize for LichessTimeline
impl Serialize for LichessTimeline
impl StructuralPartialEq for LichessTimeline
Auto Trait Implementations§
impl Freeze for LichessTimeline
impl RefUnwindSafe for LichessTimeline
impl Send for LichessTimeline
impl Sync for LichessTimeline
impl Unpin for LichessTimeline
impl UnsafeUnpin for LichessTimeline
impl UnwindSafe for LichessTimeline
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