Struct hdbconnect::OutputParameters
source · pub struct OutputParameters { /* private fields */ }
Expand description
A set of output parameters, as they can be returned by procedure calls.
Contains metadata (the descriptors), and the values.
Implementations§
source§impl OutputParameters
impl OutputParameters
sourcepub fn try_into<'de, T>(self) -> Result<T, HdbError>where
T: Deserialize<'de>,
pub fn try_into<'de, T>(self) -> Result<T, HdbError>where
T: Deserialize<'de>,
Converts the contained values in into a plain rust value or a tuple, etc.
§Errors
HdbError::Deserialization
if the conversion is not implemented.
sourcepub fn descriptors(&self) -> &Vec<ParameterDescriptor>
pub fn descriptors(&self) -> &Vec<ParameterDescriptor>
Returns the descriptors.
sourcepub fn into_values(self) -> Vec<HdbValue<'static>>
pub fn into_values(self) -> Vec<HdbValue<'static>>
Converts into an iterator of the contained values.
sourcepub fn into_descriptors_and_values(
self
) -> (Vec<ParameterDescriptor>, Vec<HdbValue<'static>>)
pub fn into_descriptors_and_values( self ) -> (Vec<ParameterDescriptor>, Vec<HdbValue<'static>>)
Converts into a vec of the parameter descriptors and a vec of the contained values.
Trait Implementations§
source§impl Debug for OutputParameters
impl Debug for OutputParameters
Auto Trait Implementations§
impl RefUnwindSafe for OutputParameters
impl Send for OutputParameters
impl Sync for OutputParameters
impl Unpin for OutputParameters
impl UnwindSafe for OutputParameters
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