Struct sbrd_gen::GeneratedValues
source · [−]pub struct GeneratedValues<'a> { /* private fields */ }
Expand description
Structure for generated values set
Implementations
sourceimpl<'a> GeneratedValues<'a>
impl<'a> GeneratedValues<'a>
sourcepub fn get_all_values(&self) -> &DataValueMap<&str>
pub fn get_all_values(&self) -> &DataValueMap<&str>
Get all values regardless of whether the key is specified as the value for which output is required
sourcepub fn filter_values(&self) -> SchemaResult<Vec<&DataValue>>
pub fn filter_values(&self) -> SchemaResult<Vec<&DataValue>>
Get all values for which the key is specified as the value for which output is required
sourcepub fn filter_values_with_key<'b>(
&'b self
) -> SchemaResult<Vec<(&'a str, &'b DataValue)>>
pub fn filter_values_with_key<'b>(
&'b self
) -> SchemaResult<Vec<(&'a str, &'b DataValue)>>
Get all keys and values for which the key is specified as the value for which output is required
sourcepub fn into_values(self) -> SchemaResult<Vec<DataValue>>
pub fn into_values(self) -> SchemaResult<Vec<DataValue>>
Convert to a sequence from all values for which the key is specified as the value for which output is required
sourcepub fn into_values_with_key(self) -> SchemaResult<Vec<(String, DataValue)>>
pub fn into_values_with_key(self) -> SchemaResult<Vec<(String, DataValue)>>
Convert to a sequence from all keys and values for which the key is specified as the value for which output is required
Trait Implementations
sourceimpl<'a> Debug for GeneratedValues<'a>
impl<'a> Debug for GeneratedValues<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for GeneratedValues<'a>
impl<'a> Send for GeneratedValues<'a>
impl<'a> Sync for GeneratedValues<'a>
impl<'a> Unpin for GeneratedValues<'a>
impl<'a> UnwindSafe for GeneratedValues<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more