pub struct BroadcastGrouping {
pub info_name: Option<String>,
pub info_tours: Option<String>,
pub score_groups: Option<Vec<String>>,
}Expand description
Groups this broadcast tournament together with others.
score_groups serializes as indexed form keys (grouping.scoreGroups[0],
grouping.scoreGroups[1], …) per the Lichess API’s non-standard array
encoding for this field, which a single struct field cannot otherwise
produce with serde_urlencoded - hence the manual Serialize impl below.
Fields§
§info_name: Option<String>§info_tours: Option<String>Linebreak separated list of tournament IDs to group together.
score_groups: Option<Vec<String>>Each entry is a comma separated list of tournament IDs grouped for scoring.
Trait Implementations§
Source§impl Clone for BroadcastGrouping
impl Clone for BroadcastGrouping
Source§fn clone(&self) -> BroadcastGrouping
fn clone(&self) -> BroadcastGrouping
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 BroadcastGrouping
impl Debug for BroadcastGrouping
Source§impl Default for BroadcastGrouping
impl Default for BroadcastGrouping
Source§fn default() -> BroadcastGrouping
fn default() -> BroadcastGrouping
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BroadcastGrouping
impl RefUnwindSafe for BroadcastGrouping
impl Send for BroadcastGrouping
impl Sync for BroadcastGrouping
impl Unpin for BroadcastGrouping
impl UnsafeUnpin for BroadcastGrouping
impl UnwindSafe for BroadcastGrouping
Blanket Implementations§
impl<B> BodyBounds for Bwhere
B: Serialize,
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