Struct hive_metastore::SqlForeignKey
source · pub struct SqlForeignKey {Show 14 fields
pub pktable_db: Option<FastStr>,
pub pktable_name: Option<FastStr>,
pub pkcolumn_name: Option<FastStr>,
pub fktable_db: Option<FastStr>,
pub fktable_name: Option<FastStr>,
pub fkcolumn_name: Option<FastStr>,
pub key_seq: Option<i32>,
pub update_rule: Option<i32>,
pub delete_rule: Option<i32>,
pub fk_name: Option<FastStr>,
pub pk_name: Option<FastStr>,
pub enable_cstr: Option<bool>,
pub validate_cstr: Option<bool>,
pub rely_cstr: Option<bool>,
}
Fields§
§pktable_db: Option<FastStr>
§pktable_name: Option<FastStr>
§pkcolumn_name: Option<FastStr>
§fktable_db: Option<FastStr>
§fktable_name: Option<FastStr>
§fkcolumn_name: Option<FastStr>
§key_seq: Option<i32>
§update_rule: Option<i32>
§delete_rule: Option<i32>
§fk_name: Option<FastStr>
§pk_name: Option<FastStr>
§enable_cstr: Option<bool>
§validate_cstr: Option<bool>
§rely_cstr: Option<bool>
Trait Implementations§
source§impl Clone for SqlForeignKey
impl Clone for SqlForeignKey
source§fn clone(&self) -> SqlForeignKey
fn clone(&self) -> SqlForeignKey
Returns a copy of the value. Read more
1.0.0 · 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 SqlForeignKey
impl Debug for SqlForeignKey
source§impl Default for SqlForeignKey
impl Default for SqlForeignKey
source§fn default() -> SqlForeignKey
fn default() -> SqlForeignKey
Returns the “default value” for a type. Read more
source§impl Hash for SqlForeignKey
impl Hash for SqlForeignKey
source§impl Message for SqlForeignKey
impl Message for SqlForeignKey
fn encode<T: TOutputProtocol>( &self, protocol: &mut T, ) -> Result<(), ThriftException>
fn decode<T: TInputProtocol>(protocol: &mut T) -> Result<Self, ThriftException>
fn decode_async<'a, T: TAsyncInputProtocol>( protocol: &'a mut T, ) -> Pin<Box<dyn Future<Output = Result<Self, ThriftException>> + Send + 'a>>
fn size<T: TLengthProtocol>(&self, protocol: &mut T) -> usize
source§impl Ord for SqlForeignKey
impl Ord for SqlForeignKey
source§fn cmp(&self, other: &SqlForeignKey) -> Ordering
fn cmp(&self, other: &SqlForeignKey) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SqlForeignKey
impl PartialEq for SqlForeignKey
source§fn eq(&self, other: &SqlForeignKey) -> bool
fn eq(&self, other: &SqlForeignKey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SqlForeignKey
impl PartialOrd for SqlForeignKey
source§fn partial_cmp(&self, other: &SqlForeignKey) -> Option<Ordering>
fn partial_cmp(&self, other: &SqlForeignKey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for SqlForeignKey
impl StructuralPartialEq for SqlForeignKey
Auto Trait Implementations§
impl !Freeze for SqlForeignKey
impl RefUnwindSafe for SqlForeignKey
impl Send for SqlForeignKey
impl Sync for SqlForeignKey
impl Unpin for SqlForeignKey
impl UnwindSafe for SqlForeignKey
Blanket Implementations§
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