pub enum Endpoint {
Timezone,
Ip,
}Expand description
An enumeration of the supported endpoints for the World Time API client.
The World Time API provides two endpoints: “timezone” and “ip”. The “timezone” endpoint allows querying the current time for a specific timezone region. The “ip” endpoint allows querying the current time for a specific IP address.
Variants§
Trait Implementations§
impl Copy for Endpoint
Auto Trait Implementations§
impl Freeze for Endpoint
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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