Struct remote_settings_client::client::ClientBuilder
source · [−]pub struct ClientBuilder { /* private fields */ }
Expand description
Builder for Client
.
Implementations
sourceimpl ClientBuilder
impl ClientBuilder
pub fn server_url<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn bucket_name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn collection_name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn signer_name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn verifier(self, value: Box<dyn Verification>) -> Self
pub fn storage(self, value: Box<dyn Storage>) -> Self
pub fn sync_if_empty(self, value: bool) -> Self
pub fn trust_local(self, value: bool) -> Self
pub fn cert_root_hash(self, value: String) -> Self
pub fn http_client(self, value: Box<dyn Requester + 'static>) -> Self
pub fn server_info(self, value: Option<Value>) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ClientBuilder
impl Send for ClientBuilder
impl Sync for ClientBuilder
impl Unpin for ClientBuilder
impl !UnwindSafe for ClientBuilder
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more