pub struct WebClient { /* private fields */ }Implementations§
Source§impl WebClient
impl WebClient
pub fn new() -> Self
pub fn with_options(options: ClientOptions) -> Self
pub fn years(&self) -> Vec<Year>
pub fn days(&self, year: Year) -> Option<Vec<Day>>
pub fn get_input(&self, day: Day, year: Year) -> String
pub fn submit_answer( &mut self, answer: Answer, part: Part, day: Day, year: Year, ) -> CheckResult
pub fn get_puzzle(&self, day: Day, year: Year) -> Puzzle
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebClient
impl !RefUnwindSafe for WebClient
impl Send for WebClient
impl Sync for WebClient
impl Unpin for WebClient
impl !UnwindSafe for WebClient
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