pub enum SecretPersistence {
Default,
Temporary,
Persistent,
}Expand description
The opt_persist persistence modifier on a DuckDB DROP SECRET: which of the three
storage scopes the statement names. (The wider CREATE SECRET grammar shares the same
opt_persist production; CreateSecret models only its PERSISTENT/absent forms as
a bool, so this three-valued modifier lives with the drop that needs all three.)
Variants§
Default
No modifier written — DuckDB’s default secret scope (DROP SECRET s).
Temporary
TEMPORARY — the session-scoped, in-memory secret store.
Persistent
PERSISTENT — the on-disk persistent secret store.
Trait Implementations§
Source§impl Clone for SecretPersistence
impl Clone for SecretPersistence
Source§fn clone(&self) -> SecretPersistence
fn clone(&self) -> SecretPersistence
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 SecretPersistence
Source§impl Debug for SecretPersistence
impl Debug for SecretPersistence
Source§impl<'de> Deserialize<'de> for SecretPersistence
impl<'de> Deserialize<'de> for SecretPersistence
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 SecretPersistence
Source§impl Hash for SecretPersistence
impl Hash for SecretPersistence
Source§impl PartialEq for SecretPersistence
impl PartialEq for SecretPersistence
Source§impl Serialize for SecretPersistence
impl Serialize for SecretPersistence
impl StructuralPartialEq for SecretPersistence
Auto Trait Implementations§
impl Freeze for SecretPersistence
impl RefUnwindSafe for SecretPersistence
impl Send for SecretPersistence
impl Sync for SecretPersistence
impl Unpin for SecretPersistence
impl UnsafeUnpin for SecretPersistence
impl UnwindSafe for SecretPersistence
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