Struct Udt

Source
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<NonZero<i16>> 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<NonZero<i32>> 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<NonZero<i64>> 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<NonZero<i8>> 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 Freeze for Udt

§

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 T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.