pub struct ClawDBBuilder { /* private fields */ }Expand description
Builder for constructing a ClawDB client.
Implementations§
Source§impl ClawDBBuilder
impl ClawDBBuilder
pub fn new() -> Self
pub fn endpoint(self, endpoint: impl Into<String>) -> Self
pub fn api_key(self, api_key: impl Into<String>) -> Self
pub fn agent_id(self, agent_id: impl Into<String>) -> Self
pub fn workspace(self, workspace: impl Into<String>) -> Self
pub fn role(self, role: impl Into<String>) -> Self
pub fn timeout_ms(self, ms: u64) -> Self
pub fn tls(self, enabled: bool) -> Self
Trait Implementations§
Source§impl Debug for ClawDBBuilder
impl Debug for ClawDBBuilder
Source§impl Default for ClawDBBuilder
impl Default for ClawDBBuilder
Source§fn default() -> ClawDBBuilder
fn default() -> ClawDBBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ClawDBBuilder
impl RefUnwindSafe for ClawDBBuilder
impl Send for ClawDBBuilder
impl Sync for ClawDBBuilder
impl Unpin for ClawDBBuilder
impl UnsafeUnpin for ClawDBBuilder
impl UnwindSafe for ClawDBBuilder
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