pub enum Endpoint {
Init,
Generate,
RotateCookies,
Upload,
}Expand description
Gemini web endpoints used by this crate.
Variants§
Init
Initialize session and obtain the SNlM0e token.
Generate
Generate a chat response.
RotateCookies
Rotate authentication cookies.
Upload
Upload files/images.
Implementations§
Trait Implementations§
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