Struct partiql_value::Bag
source · pub struct Bag(/* private fields */);
Expand description
Represents a PartiQL BAG value, e.g.: <<1, ‘two’, 4>>
Implementations§
Trait Implementations§
source§impl Extend<Value> for Bag
impl Extend<Value> for Bag
source§fn extend<Iter: IntoIterator<Item = Value>>(&mut self, iter: Iter)
fn extend<Iter: IntoIterator<Item = Value>>(&mut self, iter: Iter)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<'a> IntoIterator for &'a Bag
impl<'a> IntoIterator for &'a Bag
source§impl IntoIterator for Bag
impl IntoIterator for Bag
source§impl Ord for Bag
impl Ord for Bag
source§impl PartialEq<Bag> for Bag
impl PartialEq<Bag> for Bag
source§impl PartialOrd<Bag> for Bag
impl PartialOrd<Bag> for Bag
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Bag
impl StructuralEq for Bag
Auto Trait Implementations§
impl RefUnwindSafe for Bag
impl Send for Bag
impl Sync for Bag
impl Unpin for Bag
impl UnwindSafe for Bag
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