pub struct AocClient { /* private fields */ }
Implementations§
Source§impl AocClient
impl AocClient
pub fn builder() -> AocClientBuilder
pub fn day_unlocked(&self) -> bool
pub fn get_puzzle_html(&self) -> AocResult<String>
pub fn get_input(&self) -> AocResult<String>
pub fn submit_answer<P, D>( &self, puzzle_part: P, answer: D, ) -> AocResult<SubmissionOutcome>
pub fn submit_answer_and_show_outcome<P, D>( &self, puzzle_part: P, answer: D, ) -> AocResult<()>
pub fn show_puzzle(&self) -> AocResult<()>
pub fn save_puzzle_markdown(&self) -> AocResult<()>
pub fn save_input(&self) -> AocResult<()>
pub fn get_calendar_html(&self) -> AocResult<String>
pub fn show_calendar(&self) -> AocResult<()>
pub fn show_private_leaderboard( &self, leaderboard_id: LeaderboardId, ) -> AocResult<()>
Auto Trait Implementations§
impl Freeze for AocClient
impl RefUnwindSafe for AocClient
impl Send for AocClient
impl Sync for AocClient
impl Unpin for AocClient
impl UnwindSafe for AocClient
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