pub enum SchemaOwnership {
Managed,
Adopted,
}Variants§
Managed
The platform creates and alters the schema from the manifest.
Adopted
The schema exists already; the platform never emits DDL for it.
Implementations§
Source§impl SchemaOwnership
impl SchemaOwnership
pub fn is_managed(&self) -> bool
Trait Implementations§
Source§impl Clone for SchemaOwnership
impl Clone for SchemaOwnership
impl Copy for SchemaOwnership
Source§impl Debug for SchemaOwnership
impl Debug for SchemaOwnership
Source§impl Default for SchemaOwnership
impl Default for SchemaOwnership
Source§impl<'de> Deserialize<'de> for SchemaOwnership
impl<'de> Deserialize<'de> for SchemaOwnership
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 SchemaOwnership
Source§impl PartialEq for SchemaOwnership
impl PartialEq for SchemaOwnership
Source§impl Serialize for SchemaOwnership
impl Serialize for SchemaOwnership
impl StructuralPartialEq for SchemaOwnership
Auto Trait Implementations§
impl Freeze for SchemaOwnership
impl RefUnwindSafe for SchemaOwnership
impl Send for SchemaOwnership
impl Sync for SchemaOwnership
impl Unpin for SchemaOwnership
impl UnsafeUnpin for SchemaOwnership
impl UnwindSafe for SchemaOwnership
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