Struct edgedb_tokio::state::Unset
source · pub struct Unset<I>(pub I);
Expand description
Unset a set of global or config variables
Accepts an iterator of names. Used with globals lie this:
let conn = conn.with_globals(Unset(["xxx", "yyy"]));
Tuple Fields§
§0: I
Trait Implementations§
source§impl<S: AsRef<str>, I: IntoIterator<Item = S>> AliasesDelta for Unset<I>
impl<S: AsRef<str>, I: IntoIterator<Item = S>> AliasesDelta for Unset<I>
source§fn apply(self, man: &mut AliasesModifier<'_>)
fn apply(self, man: &mut AliasesModifier<'_>)
Applies variables delta using specified modifier object
source§impl<S: AsRef<str>, I: IntoIterator<Item = S>> ConfigDelta for Unset<I>
impl<S: AsRef<str>, I: IntoIterator<Item = S>> ConfigDelta for Unset<I>
source§fn apply(self, man: &mut ConfigModifier<'_>)
fn apply(self, man: &mut ConfigModifier<'_>)
Applies variables delta using specified modifier object
source§impl<S: AsRef<str>, I: IntoIterator<Item = S>> GlobalsDelta for Unset<I>
impl<S: AsRef<str>, I: IntoIterator<Item = S>> GlobalsDelta for Unset<I>
source§fn apply(self, man: &mut GlobalsModifier<'_>)
fn apply(self, man: &mut GlobalsModifier<'_>)
Applies variables delta using specified modifier object
Auto Trait Implementations§
impl<I> Freeze for Unset<I>where
I: Freeze,
impl<I> RefUnwindSafe for Unset<I>where
I: RefUnwindSafe,
impl<I> Send for Unset<I>where
I: Send,
impl<I> Sync for Unset<I>where
I: Sync,
impl<I> Unpin for Unset<I>where
I: Unpin,
impl<I> UnwindSafe for Unset<I>where
I: UnwindSafe,
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