Struct hdbconnect::ParameterDescriptor
source · pub struct ParameterDescriptor { /* private fields */ }
Expand description
Metadata for a parameter.
Implementations§
source§impl ParameterDescriptor
impl ParameterDescriptor
sourcepub fn binding(&self) -> ParameterBinding
pub fn binding(&self) -> ParameterBinding
Describes whether a parameter can be NULL or not, or if it has a default value.
sourcepub fn is_nullable(&self) -> bool
pub fn is_nullable(&self) -> bool
Returns true if the column can contain NULL values.
sourcepub fn has_default(&self) -> bool
pub fn has_default(&self) -> bool
Returns true if the column has a default value.
sourcepub fn is_auto_incremented(&self) -> bool
pub fn is_auto_incremented(&self) -> bool
Returns true if the column is auto-incremented.
sourcepub fn is_array_type(&self) -> bool
pub fn is_array_type(&self) -> bool
Returns true if the parameter is of array type
sourcepub fn type_id(&self) -> u8
pub fn type_id(&self) -> u8
Returns the id of the value type of the parameter.
See also module type_id
.
sourcepub fn direction(&self) -> ParameterDirection
pub fn direction(&self) -> ParameterDirection
Describes whether a parameter is used for input, output, or both.
Trait Implementations§
source§impl Clone for ParameterDescriptor
impl Clone for ParameterDescriptor
source§fn clone(&self) -> ParameterDescriptor
fn clone(&self) -> ParameterDescriptor
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 more