pub struct UDTDefinition {
pub name: String,
pub keyspace: String,
pub fields: Vec<UdtFieldDefinition>,
pub version: Option<u32>,
}Expand description
User-defined type definition
Fields§
§name: StringUDT name
keyspace: StringKeyspace where UDT is defined
fields: Vec<UdtFieldDefinition>Field definitions
version: Option<u32>Version when UDT was created
Trait Implementations§
Source§impl Clone for UDTDefinition
impl Clone for UDTDefinition
Source§fn clone(&self) -> UDTDefinition
fn clone(&self) -> UDTDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UDTDefinition
impl Debug for UDTDefinition
Source§impl<'de> Deserialize<'de> for UDTDefinition
impl<'de> Deserialize<'de> for UDTDefinition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UDTDefinition
impl RefUnwindSafe for UDTDefinition
impl Send for UDTDefinition
impl Sync for UDTDefinition
impl Unpin for UDTDefinition
impl UnsafeUnpin for UDTDefinition
impl UnwindSafe for UDTDefinition
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more