[−][src]Struct hdbconnect::ParameterDescriptor
Metadata for a parameter.
Implementations
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.
Is a shortcut for matching against the parameter binding.
pub fn has_default(&self) -> bool
[src]
Returns true if the column has a default value.
Is a shortcut for matching against the parameter binding.
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]
use ParameterDescriptor::is_nullable()
Tells if the parameter can be NULL.
pub fn scale(&self) -> i16
[src]
Scale.
pub fn precision(&self) -> i16
[src]
Precision.
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]
pub fn clone(&self) -> ParameterDescriptor
[src]
pub 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.
pub fn from_bool(
&self,
value: bool
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: bool
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_i8(
&self,
value: i8
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: i8
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_i16(
&self,
value: i16
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: i16
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_i32(
&self,
value: i32
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: i32
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_i64(
&self,
value: i64
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: i64
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_u8(
&self,
value: u8
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: u8
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_u16(
&self,
value: u16
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: u16
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_u32(
&self,
value: u32
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: u32
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_u64(
&self,
value: u64
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: u64
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_f32(
&self,
value: f32
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: f32
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_f64(
&self,
value: f64
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: f64
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_char(
&self,
value: char
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: char
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_str(
&self,
value: &str
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: &str
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_bytes(
&self,
value: &[u8]
) -> Result<HdbValue<'static>, SerializationError>
[src]
&self,
value: &[u8]
) -> Result<HdbValue<'static>, SerializationError>
pub fn from_none(&self) -> Result<HdbValue<'static>, SerializationError>
[src]
pub 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,
pub 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub 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>,