pub struct Daily {
pub salt: String,
pub prefix: String,
pub repeat: Repeat,
pub sort: Sort,
pub display: Display,
}Fields§
§salt: String§prefix: String§repeat: Repeat§sort: Sort§display: DisplayImplementations§
Source§impl Daily
impl Daily
pub fn new( salt: &str, prefix: &str, repeat: Repeat, sort: Sort, display: Display, ) -> Self
pub fn today(&self, steam: &impl SteamApi, system: u64) -> Today
pub fn seed(&self, date: Date) -> u64
pub fn board_name(&self, date: Date) -> String
pub fn open(&self, steam: &mut impl SteamApi, date: Date) -> Result<Call, Error>
pub fn marker(&self) -> i32
pub fn start( &self, steam: &mut impl SteamApi, board: Board, ) -> Result<Call, Error>
pub fn check( &self, steam: &mut impl SteamApi, board: Board, ) -> Result<Call, Error>
pub fn used(entries: &[Entry], me: User) -> bool
pub fn upload(&self, date: Date, last_counted: Option<Date>) -> Option<Upload>
pub fn submit( &self, steam: &mut impl SteamApi, board: Board, date: Date, last_counted: Option<Date>, score: i32, details: &[i32], ) -> Result<Option<Call>, Error>
Trait Implementations§
impl Eq for Daily
impl StructuralPartialEq for Daily
Auto Trait Implementations§
impl Freeze for Daily
impl RefUnwindSafe for Daily
impl Send for Daily
impl Sync for Daily
impl Unpin for Daily
impl UnsafeUnpin for Daily
impl UnwindSafe for Daily
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