Struct hdbconnect::ParameterDescriptor [−][src]
pub struct ParameterDescriptor { /* fields omitted */ }
Metadata for a parameter.
Methods
impl ParameterDescriptor
[src]
impl ParameterDescriptor
pub fn binding(&self) -> ParameterBinding
[src]
pub fn binding(&self) -> ParameterBinding
Describes whether a parameter can be NULL or not, or if it has a default value.
pub fn is_nullable(&self) -> bool
[src]
pub fn is_nullable(&self) -> bool
Returns true if the column can contain NULL values.
pub fn has_default(&self) -> bool
[src]
pub fn has_default(&self) -> bool
Returns true if the column has a default value.
pub fn is_auto_incremented(&self) -> bool
[src]
pub fn is_auto_incremented(&self) -> bool
Returns true if the column is auto-incremented.
pub fn is_array_type(&self) -> bool
[src]
pub fn is_array_type(&self) -> bool
Returns true if the parameter is of array type
pub fn type_id(&self) -> u8
[src]
pub fn type_id(&self) -> u8
Returns the id of the value type of the parameter.
See also module type_id
.
pub fn scale(&self) -> u16
[src]
pub fn scale(&self) -> u16
Scale (for some numeric types only).
pub fn precision(&self) -> u16
[src]
pub fn precision(&self) -> u16
Precision (for some numeric types only).
pub fn direction(&self) -> ParameterDirection
[src]
pub fn direction(&self) -> ParameterDirection
Describes whether a parameter is used for input, output, or both.
pub fn name(&self) -> Option<&String>
[src]
pub fn name(&self) -> Option<&String>
Returns the name of the parameter.
Trait Implementations
impl Clone for ParameterDescriptor
[src]
impl Clone for ParameterDescriptor
fn clone(&self) -> ParameterDescriptor
[src]
fn clone(&self) -> ParameterDescriptor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ParameterDescriptor
[src]
impl Debug for ParameterDescriptor
Auto Trait Implementations
impl Send for ParameterDescriptor
impl Send for ParameterDescriptor
impl Sync for ParameterDescriptor
impl Sync for ParameterDescriptor