pub struct ArbitraryArray<N, V> {
pub names: N,
pub branch: Range<usize>,
pub len: Range<usize>,
pub null: V,
pub is_nullable: bool,
}
Fields§
§names: N
§branch: Range<usize>
§len: Range<usize>
§null: V
§is_nullable: bool
Implementations§
Source§impl<N, V> ArbitraryArray<N, V>
impl<N, V> ArbitraryArray<N, V>
pub fn with_len(&self, len: usize) -> Self
pub fn arbitrary_array( self, data_type_sampler: DataTypeSampler, ) -> ChainedArraySampler
pub fn sampler_from_data_type(&self, data_type: &DataType) -> ArraySampler
Trait Implementations§
Source§impl<N: Clone, V: Clone> Clone for ArbitraryArray<N, V>
impl<N: Clone, V: Clone> Clone for ArbitraryArray<N, V>
Source§fn clone(&self) -> ArbitraryArray<N, V>
fn clone(&self) -> ArbitraryArray<N, V>
Returns a copy of the value. Read more
1.0.0 · 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<N, V> Freeze for ArbitraryArray<N, V>
impl<N, V> RefUnwindSafe for ArbitraryArray<N, V>where
N: RefUnwindSafe,
V: RefUnwindSafe,
impl<N, V> Send for ArbitraryArray<N, V>
impl<N, V> Sync for ArbitraryArray<N, V>
impl<N, V> Unpin for ArbitraryArray<N, V>
impl<N, V> UnwindSafe for ArbitraryArray<N, V>where
N: UnwindSafe,
V: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more