pub enum DataArtifactReferenceKind {
QueryFile,
MigrationDirectory,
SqlxDefaultMigrationDirectory,
}Expand description
Kind of external data artifact referenced by source code.
Variants§
QueryFile
A SQLx query_file*! query file.
MigrationDirectory
A SQLx embedded or runtime migration directory.
SqlxDefaultMigrationDirectory
The migration directory selected by sqlx::migrate!() with no explicit path.
Trait Implementations§
Source§impl Clone for DataArtifactReferenceKind
impl Clone for DataArtifactReferenceKind
Source§fn clone(&self) -> DataArtifactReferenceKind
fn clone(&self) -> DataArtifactReferenceKind
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 DataArtifactReferenceKind
Source§impl Debug for DataArtifactReferenceKind
impl Debug for DataArtifactReferenceKind
Source§impl<'de> Deserialize<'de> for DataArtifactReferenceKind
impl<'de> Deserialize<'de> for DataArtifactReferenceKind
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 DataArtifactReferenceKind
Source§impl Hash for DataArtifactReferenceKind
impl Hash for DataArtifactReferenceKind
Source§impl Ord for DataArtifactReferenceKind
impl Ord for DataArtifactReferenceKind
Source§fn cmp(&self, other: &DataArtifactReferenceKind) -> Ordering
fn cmp(&self, other: &DataArtifactReferenceKind) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for DataArtifactReferenceKind
impl PartialOrd for DataArtifactReferenceKind
impl StructuralPartialEq for DataArtifactReferenceKind
Auto Trait Implementations§
impl Freeze for DataArtifactReferenceKind
impl RefUnwindSafe for DataArtifactReferenceKind
impl Send for DataArtifactReferenceKind
impl Sync for DataArtifactReferenceKind
impl Unpin for DataArtifactReferenceKind
impl UnsafeUnpin for DataArtifactReferenceKind
impl UnwindSafe for DataArtifactReferenceKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.