pub struct RequestDataParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> RequestDataParamsBuilder<'a>
impl<'a> RequestDataParamsBuilder<'a>
Sourcepub fn securityOrigin(self, securityOrigin: impl Into<Cow<'a, str>>) -> Self
pub fn securityOrigin(self, securityOrigin: impl Into<Cow<'a, str>>) -> Self
At least and at most one of securityOrigin, storageKey, or storageBucket must be specified. Security origin.
Sourcepub fn storageKey(self, storageKey: impl Into<Cow<'a, str>>) -> Self
pub fn storageKey(self, storageKey: impl Into<Cow<'a, str>>) -> Self
Storage key.
Sourcepub fn storageBucket(self, storageBucket: StorageBucket<'a>) -> Self
pub fn storageBucket(self, storageBucket: StorageBucket<'a>) -> Self
Storage bucket. If not specified, it uses the default bucket.
Sourcepub fn indexName(self, indexName: impl Into<Cow<'a, str>>) -> Self
pub fn indexName(self, indexName: impl Into<Cow<'a, str>>) -> Self
Index name. If not specified, it performs an object store data request.
pub fn build(self) -> RequestDataParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for RequestDataParamsBuilder<'a>
impl<'a> RefUnwindSafe for RequestDataParamsBuilder<'a>
impl<'a> Send for RequestDataParamsBuilder<'a>
impl<'a> Sync for RequestDataParamsBuilder<'a>
impl<'a> Unpin for RequestDataParamsBuilder<'a>
impl<'a> UnsafeUnpin for RequestDataParamsBuilder<'a>
impl<'a> UnwindSafe for RequestDataParamsBuilder<'a>
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