[−][src]Struct hdbconnect::ParameterDescriptor
Metadata for a parameter.
Methods
impl ParameterDescriptor
[src]
pub fn binding(&self) -> ParameterBinding
[src]
Describes whether a parameter can be NULL or not, or if it has a default value.
pub fn is_nullable(&self) -> bool
[src]
Returns true if the column can contain NULL values.
pub fn has_default(&self) -> bool
[src]
Returns true if the column has a default value.
pub fn is_auto_incremented(&self) -> bool
[src]
Returns true if the column is auto-incremented.
pub fn is_array_type(&self) -> bool
[src]
Returns true if the parameter is of array type
pub fn type_id(&self) -> TypeId
[src]
Returns the type id of the parameter.
pub fn nullable(&self) -> bool
[src]
Returns true if and only if a NULL value is accepted for this parameter.
pub fn scale(&self) -> i16
[src]
Scale (for some numeric types only).
pub fn precision(&self) -> i16
[src]
Precision (for some numeric types only).
pub fn direction(&self) -> ParameterDirection
[src]
Describes whether a parameter is used for input, output, or both.
pub fn name(&self) -> Option<&str>
[src]
Returns the name of the parameter.
pub fn parse_value<S: AsRef<str>>(&self, s: S) -> HdbResult<HdbValue<'static>>
[src]
Trait Implementations
impl Clone for ParameterDescriptor
[src]
fn clone(&self) -> ParameterDescriptor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'_> DbvFactory for &'_ ParameterDescriptor
[src]
type DBV = HdbValue<'static>
The type of the database objects.
fn from_bool(
&self,
value: bool
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: bool
) -> Result<HdbValue<'static>, SerializationError>
fn from_i8(&self, value: i8) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_i16(&self, value: i16) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_i32(&self, value: i32) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_i64(&self, value: i64) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_u8(&self, value: u8) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_u16(&self, value: u16) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_u32(&self, value: u32) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_u64(&self, value: u64) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_f32(&self, value: f32) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_f64(&self, value: f64) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_char(
&self,
value: char
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: char
) -> Result<HdbValue<'static>, SerializationError>
fn from_str(&self, value: &str) -> Result<HdbValue<'static>, SerializationError>
[src]
fn from_bytes(
&self,
value: &[u8]
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: &[u8]
) -> Result<HdbValue<'static>, SerializationError>
fn from_none(&self) -> Result<HdbValue<'static>, SerializationError>
[src]
fn descriptor(&self) -> String
[src]
impl Debug for ParameterDescriptor
[src]
impl Display for ParameterDescriptor
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParameterDescriptor
impl Send for ParameterDescriptor
impl Sync for ParameterDescriptor
impl Unpin for ParameterDescriptor
impl UnwindSafe for ParameterDescriptor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,