pub struct Udt { /* private fields */ }

Implementations§

source§

impl Udt

source

pub fn new( fields: Vec<CBytes>, metadata: &CUdt, protocol_version: Version ) -> Udt

Trait Implementations§

source§

impl AsCassandraType for Udt

source§

impl ByName for Udt

source§

fn by_name<R>(&self, name: &str) -> CDRSResult<Option<R>>where Self: IntoRustByName<R>,

source§

fn r_by_name<R>(&self, name: &str) -> CDRSResult<R>where Self: IntoRustByName<R>,

source§

impl Clone for Udt

source§

fn clone(&self) -> Udt

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Udt

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl FromCdrs for Udt

source§

fn from_cdrs<T>(cdrs_type: T) -> CdrsResult<Option<Self>>where Self: Sized, T: AsRustType<Self>,

source§

fn from_cdrs_r<T>(cdrs_type: T) -> CdrsResult<Self>where Self: Sized, T: AsRustType<Self>,

source§

impl FromCdrsByName for Udt

source§

fn from_cdrs_by_name<T>(cdrs_type: &T, name: &str) -> CdrsResult<Option<Self>>where Self: Sized, T: ByName + IntoRustByName<Self>,

source§

fn from_cdrs_r<T>(cdrs_type: &T, name: &str) -> CdrsResult<Self>where Self: Sized, T: ByName + IntoRustByName<Self> + Debug,

source§

impl IntoRustByIndex<Udt> for Row

source§

fn get_by_index(&self, index: usize) -> Result<Option<Udt>>

source§

fn get_r_by_index(&self, index: usize) -> CDRSResult<R>

source§

impl IntoRustByIndex<Udt> for Tuple

source§

fn get_by_index(&self, index: usize) -> Result<Option<Udt>>

source§

fn get_r_by_index(&self, index: usize) -> CDRSResult<R>

source§

impl IntoRustByName<BigInt> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<BigInt>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Blob> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<Blob>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<DateTime<Utc>> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<DateTime<Utc>>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Decimal> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<Decimal>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<IpAddr> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<IpAddr>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<List> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<List>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Map> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<Map>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<NaiveDateTime> for Udt

source§

impl IntoRustByName<NonZeroI16> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI16>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<NonZeroI32> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI32>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<NonZeroI64> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI64>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<NonZeroI8> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<NonZeroI8>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<PrimitiveDateTime> for Udt

source§

impl IntoRustByName<String> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<String>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Tuple> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<Tuple>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Udt> for Row

source§

fn get_by_name(&self, name: &str) -> Result<Option<Udt>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Udt> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<Udt>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<Uuid> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<Uuid>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<bool> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<bool>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<f32> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<f32>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<f64> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<f64>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<i16> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<i16>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<i32> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<i32>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<i64> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<i64>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

source§

impl IntoRustByName<i8> for Udt

source§

fn get_by_name(&self, name: &str) -> Result<Option<i8>>

source§

fn get_r_by_name(&self, name: &str) -> CDRSResult<R>

Auto Trait Implementations§

§

impl RefUnwindSafe for Udt

§

impl Send for Udt

§

impl Sync for Udt

§

impl Unpin for Udt

§

impl UnwindSafe for Udt

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.