Enum ella_engine::registry::transactions::Transaction
source · pub enum Transaction {
CreateCatalog(CreateCatalog),
CreateSchema(CreateSchema),
CreateTable(CreateTable),
CreateShard(CreateShard),
CloseShard(CloseShard),
DeleteShard(DeleteShard),
CompactShards(CompactShards),
DropTable(DropTable),
DropSchema(DropSchema),
DropCatalog(DropCatalog),
}Variants§
CreateCatalog(CreateCatalog)
CreateSchema(CreateSchema)
CreateTable(CreateTable)
CreateShard(CreateShard)
CloseShard(CloseShard)
DeleteShard(DeleteShard)
CompactShards(CompactShards)
DropTable(DropTable)
DropSchema(DropSchema)
DropCatalog(DropCatalog)
Implementations§
source§impl Transaction
impl Transaction
Trait Implementations§
source§impl Clone for Transaction
impl Clone for Transaction
source§fn clone(&self) -> Transaction
fn clone(&self) -> Transaction
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 Transaction
impl Debug for Transaction
source§impl<'de> Deserialize<'de> for Transaction
impl<'de> Deserialize<'de> for Transaction
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
source§impl Display for Transaction
impl Display for Transaction
source§impl From<CloseShard> for Transaction
impl From<CloseShard> for Transaction
source§fn from(original: CloseShard) -> Transaction
fn from(original: CloseShard) -> Transaction
Converts to this type from the input type.
source§impl From<CompactShards> for Transaction
impl From<CompactShards> for Transaction
source§fn from(original: CompactShards) -> Transaction
fn from(original: CompactShards) -> Transaction
Converts to this type from the input type.
source§impl From<CreateCatalog> for Transaction
impl From<CreateCatalog> for Transaction
source§fn from(original: CreateCatalog) -> Transaction
fn from(original: CreateCatalog) -> Transaction
Converts to this type from the input type.
source§impl From<CreateSchema> for Transaction
impl From<CreateSchema> for Transaction
source§fn from(original: CreateSchema) -> Transaction
fn from(original: CreateSchema) -> Transaction
Converts to this type from the input type.
source§impl From<CreateShard> for Transaction
impl From<CreateShard> for Transaction
source§fn from(original: CreateShard) -> Transaction
fn from(original: CreateShard) -> Transaction
Converts to this type from the input type.
source§impl From<CreateTable> for Transaction
impl From<CreateTable> for Transaction
source§fn from(original: CreateTable) -> Transaction
fn from(original: CreateTable) -> Transaction
Converts to this type from the input type.
source§impl From<DeleteShard> for Transaction
impl From<DeleteShard> for Transaction
source§fn from(original: DeleteShard) -> Transaction
fn from(original: DeleteShard) -> Transaction
Converts to this type from the input type.
source§impl From<DropCatalog> for Transaction
impl From<DropCatalog> for Transaction
source§fn from(original: DropCatalog) -> Transaction
fn from(original: DropCatalog) -> Transaction
Converts to this type from the input type.
source§impl From<DropSchema> for Transaction
impl From<DropSchema> for Transaction
source§fn from(original: DropSchema) -> Transaction
fn from(original: DropSchema) -> Transaction
Converts to this type from the input type.
source§impl From<DropTable> for Transaction
impl From<DropTable> for Transaction
source§fn from(original: DropTable) -> Transaction
fn from(original: DropTable) -> Transaction
Converts to this type from the input type.
source§impl PartialEq<Transaction> for Transaction
impl PartialEq<Transaction> for Transaction
source§fn eq(&self, other: &Transaction) -> bool
fn eq(&self, other: &Transaction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Transaction
impl Serialize for Transaction
impl Eq for Transaction
impl StructuralEq for Transaction
impl StructuralPartialEq for Transaction
Auto Trait Implementations§
impl !RefUnwindSafe for Transaction
impl Send for Transaction
impl Sync for Transaction
impl Unpin for Transaction
impl !UnwindSafe for Transaction
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.