pub struct KeyColumn {
pub name: String,
pub data_type: String,
pub position: usize,
}Expand description
Partition key column definition
Fields§
§name: StringColumn name
data_type: StringCQL data type
position: usizePosition in composite key (0-based)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyColumn
impl<'de> Deserialize<'de> for KeyColumn
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 KeyColumn
impl RefUnwindSafe for KeyColumn
impl Send for KeyColumn
impl Sync for KeyColumn
impl Unpin for KeyColumn
impl UnsafeUnpin for KeyColumn
impl UnwindSafe for KeyColumn
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