pub struct RemoteStoreConfig {
pub base_url: String,
pub bearer_token: String,
pub timeout: Duration,
pub auto_promote_shared: bool,
pub allow_shared_lookup: bool,
}Fields§
§base_url: String§bearer_token: String§timeout: DurationWhen true every persist sends promote_to_shared: true. The
server still gates promotion on its own root revalidation;
this just opts the client in to requesting it. Defaults to
false so a misconfigured client cannot accidentally publish
per-user bytes into _shared.
Mirrors LookupRequest::allow_shared. Default true.
Implementations§
Trait Implementations§
Source§impl Clone for RemoteStoreConfig
impl Clone for RemoteStoreConfig
Source§fn clone(&self) -> RemoteStoreConfig
fn clone(&self) -> RemoteStoreConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RemoteStoreConfig
impl RefUnwindSafe for RemoteStoreConfig
impl Send for RemoteStoreConfig
impl Sync for RemoteStoreConfig
impl Unpin for RemoteStoreConfig
impl UnsafeUnpin for RemoteStoreConfig
impl UnwindSafe for RemoteStoreConfig
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