pub struct RemoveOptionsBuilder<'a, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'a, S: State> RemoveOptionsBuilder<'a, S>
impl<'a, S: State> RemoveOptionsBuilder<'a, S>
Sourcepub fn build(self) -> RemoveOptions<'a>where
S: IsComplete,
pub fn build(self) -> RemoveOptions<'a>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn keys(self, value: Vec<Nsid<'a>>) -> RemoveOptionsBuilder<'a, SetKeys<S>>where
S::Keys: IsUnset,
pub fn keys(self, value: Vec<Nsid<'a>>) -> RemoveOptionsBuilder<'a, SetKeys<S>>where
S::Keys: IsUnset,
Required.
Sourcepub fn scope(
self,
value: impl Into<CowStr<'a>>,
) -> RemoveOptionsBuilder<'a, SetScope<S>>where
S::Scope: IsUnset,
pub fn scope(
self,
value: impl Into<CowStr<'a>>,
) -> RemoveOptionsBuilder<'a, SetScope<S>>where
S::Scope: IsUnset,
Required.
Sourcepub fn extra_data(
self,
value: BTreeMap<SmolStr, Data<'a>>,
) -> RemoveOptionsBuilder<'a, SetExtraData<S>>where
S::ExtraData: IsUnset,
pub fn extra_data(
self,
value: BTreeMap<SmolStr, Data<'a>>,
) -> RemoveOptionsBuilder<'a, SetExtraData<S>>where
S::ExtraData: IsUnset,
Sourcepub fn maybe_extra_data(
self,
value: Option<BTreeMap<SmolStr, Data<'a>>>,
) -> RemoveOptionsBuilder<'a, SetExtraData<S>>where
S::ExtraData: IsUnset,
pub fn maybe_extra_data(
self,
value: Option<BTreeMap<SmolStr, Data<'a>>>,
) -> RemoveOptionsBuilder<'a, SetExtraData<S>>where
S::ExtraData: IsUnset,
Auto Trait Implementations§
impl<'a, S> Freeze for RemoveOptionsBuilder<'a, S>
impl<'a, S> RefUnwindSafe for RemoveOptionsBuilder<'a, S>
impl<'a, S> Send for RemoveOptionsBuilder<'a, S>
impl<'a, S> Sync for RemoveOptionsBuilder<'a, S>
impl<'a, S> Unpin for RemoveOptionsBuilder<'a, S>
impl<'a, S> UnwindSafe for RemoveOptionsBuilder<'a, S>
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