pub struct CursorClientBuilder { /* private fields */ }Implementations§
Source§impl CursorClientBuilder
impl CursorClientBuilder
pub fn new() -> Self
pub fn from_env() -> Result<Self>
pub fn api_key(self, api_key: impl Into<String>) -> Self
pub fn base_url(self, base_url: impl Into<String>) -> Self
pub fn user_agent(self, user_agent: impl Into<String>) -> Self
pub fn build(self) -> Result<CursorClient>
Trait Implementations§
Source§impl Clone for CursorClientBuilder
impl Clone for CursorClientBuilder
Source§fn clone(&self) -> CursorClientBuilder
fn clone(&self) -> CursorClientBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CursorClientBuilder
impl Debug for CursorClientBuilder
Auto Trait Implementations§
impl Freeze for CursorClientBuilder
impl RefUnwindSafe for CursorClientBuilder
impl Send for CursorClientBuilder
impl Sync for CursorClientBuilder
impl Unpin for CursorClientBuilder
impl UnsafeUnpin for CursorClientBuilder
impl UnwindSafe for CursorClientBuilder
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