pub enum SequenceOwnerDependency {
Automatic,
Internal,
}Expand description
Dependency strength of a sequence owner. Ordinary OWNED BY and SERIAL use an automatic dependency, while an identity column owns its sequence through an internal dependency that cannot be reassigned or dropped directly.
Variants§
Implementations§
Source§impl SequenceOwnerDependency
impl SequenceOwnerDependency
pub const fn catalog_code(self) -> &'static str
Trait Implementations§
Source§impl Clone for SequenceOwnerDependency
impl Clone for SequenceOwnerDependency
Source§fn clone(&self) -> SequenceOwnerDependency
fn clone(&self) -> SequenceOwnerDependency
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 moreimpl Copy for SequenceOwnerDependency
Source§impl Debug for SequenceOwnerDependency
impl Debug for SequenceOwnerDependency
Source§impl Default for SequenceOwnerDependency
impl Default for SequenceOwnerDependency
Source§fn default() -> SequenceOwnerDependency
fn default() -> SequenceOwnerDependency
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SequenceOwnerDependency
impl<'de> Deserialize<'de> for SequenceOwnerDependency
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
impl Eq for SequenceOwnerDependency
Source§impl PartialEq for SequenceOwnerDependency
impl PartialEq for SequenceOwnerDependency
Source§impl Serialize for SequenceOwnerDependency
impl Serialize for SequenceOwnerDependency
impl StructuralPartialEq for SequenceOwnerDependency
Auto Trait Implementations§
impl Freeze for SequenceOwnerDependency
impl RefUnwindSafe for SequenceOwnerDependency
impl Send for SequenceOwnerDependency
impl Sync for SequenceOwnerDependency
impl Unpin for SequenceOwnerDependency
impl UnsafeUnpin for SequenceOwnerDependency
impl UnwindSafe for SequenceOwnerDependency
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